summary refs log tree commit diff
path: root/arch/sparc/Kconfig
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2010-06-29 12:44:50 +1000
committerGrant Likely <grant.likely@secretlab.ca>2010-07-05 16:14:54 -0600
commit7b14c647aee98db2d10705da385f9c19cc83a9af (patch)
treecfce92aaa3e28ce83146ff8aec5405f231917935 /arch/sparc/Kconfig
parent10f85f43ef134014da72d2bcc1bff1abb9b0640c (diff)
downloadlinux-7b14c647aee98db2d10705da385f9c19cc83a9af.tar.gz
sparc: turn CONFIG_OF into a select
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>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/sparc/Kconfig')
-rw-r--r--arch/sparc/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6f1470baa314..d02e8ac7aa10 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -18,6 +18,7 @@ config 64BIT
 config SPARC
 	bool
 	default y
+	select OF
 	select HAVE_IDE
 	select HAVE_OPROFILE
 	select HAVE_ARCH_KGDB if !SMP || SPARC64
@@ -149,7 +150,7 @@ config ARCH_NO_VIRT_TO_BUS
 	def_bool y
 
 config OF
-	def_bool y
+	bool
 
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 	def_bool y if SPARC64