Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tiezhu Yang and committed by
Thomas Bogendoerfer
588d0820 cd04d58e

+2 -2
+2 -2
arch/mips/include/asm/prom.h
··· 20 20 extern void __dt_setup_arch(void *bph); 21 21 extern int __dt_register_buses(const char *bus0, const char *bus1); 22 22 23 - #else /* CONFIG_OF */ 23 + #else /* !CONFIG_USE_OF */ 24 24 static inline void device_tree_init(void) { } 25 - #endif /* CONFIG_OF */ 25 + #endif /* !CONFIG_USE_OF */ 26 26 27 27 extern char *mips_get_machine_name(void); 28 28 extern void mips_set_machine_name(const char *name);