From 0b3e06fdc68a06e68687da4eb009ff484bfab449 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Tue, 18 Sep 2012 11:28:54 +0200 Subject: [PATCH] MIPS: Kconfig: Avoid build errors by hiding USE_OF from the user. 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 Cc: linux-mips@linux-mips.org Cc: David Daney Patchwork: https://patchwork.linux-mips.org/patch/4346/ Signed-off-by: Ralf Baechle --- arch/mips/Kconfig | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 566462c358c5..bbd193b9dfbb 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2371,12 +2371,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 -- GitLab