b01da9f1 ("MIPS: Prune some target specific code out of prom.c") removed the generic implementation of device_tree_init, breaking the kernel build when manually selecting USE_OF. Hide the config symbol so it can't be selected acidentially anymore. Signed-off-by: Jonas Gorski <jonas.gorski@xxxxxxxxx> --- There are two alternatives I have thought of: a) Make HAVE_OF depend on an additional config symbol selected by targets supporting OF. and b) create a weak implementation of device_tree_init. Both depend on the assumption that there are/will be targets that support booting with and without OF, but I don't know if anyone really wants that. arch/mips/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 678931c..529fb19 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2408,12 +2408,10 @@ config SECCOMP If unsure, say Y. Only embedded should say N here. config USE_OF - bool "Flattened Device Tree support" + bool select OF select OF_EARLY_FLATTREE select IRQ_DOMAIN - help - Include support for flattened device tree machine descriptions. endmenu -- 1.7.10.4