Skip to content

Commit 588d082

Browse files
seehearfeeltsbogend
authored andcommitted
MIPS: Fix wrong comments in asm/prom.h
In arch/mips/include/asm/prom.h, it should use "!CONFIG_USE_OF" after #else and #endif. Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
1 parent cd04d58 commit 588d082

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/mips/include/asm/prom.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ struct boot_param_header;
2020
extern void __dt_setup_arch(void *bph);
2121
extern int __dt_register_buses(const char *bus0, const char *bus1);
2222

23-
#else /* CONFIG_OF */
23+
#else /* !CONFIG_USE_OF */
2424
static inline void device_tree_init(void) { }
25-
#endif /* CONFIG_OF */
25+
#endif /* !CONFIG_USE_OF */
2626

2727
extern char *mips_get_machine_name(void);
2828
extern void mips_set_machine_name(const char *name);

0 commit comments

Comments
 (0)