Patchwork [2/5] powerpc: turn CONFIG_OF into a select

login
register
mail settings
Submitter Stephen Rothwell
Date June 29, 2010, 2:43 a.m.
Message ID <20100629124334.8f3678e5.sfr@canb.auug.org.au>
Download mbox | patch
Permalink /patch/57224/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Stephen Rothwell - June 29, 2010, 2:43 a.m.
so that we can make CONFIG_OF global and remove it from
the architecture Kconfig files later.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/powerpc/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 328774b..3697231 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -120,6 +120,8 @@  config ARCH_NO_VIRT_TO_BUS
 config PPC
 	bool
 	default y
+	select OF
+	select OF_FLATTREE
 	select HAVE_FTRACE_MCOUNT_RECORD
 	select HAVE_DYNAMIC_FTRACE
 	select HAVE_FUNCTION_TRACER
@@ -173,8 +175,7 @@  config PPC_OF
 	def_bool y
 
 config OF
-	def_bool y
-	select OF_FLATTREE
+	bool
 
 config PPC_UDBG_16550
 	bool