diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-10 23:42:33 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-10 23:53:30 -0400 |
commit | 3cfc535c5df8122af1258ae05aaf2770c033425d (patch) | |
tree | c5643066e544df08a852742060da2edfd2f6400d /arch/sparc/Kconfig | |
parent | 9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7 (diff) |
of/promtree: make drivers/of/pdt.c no longer sparc-only
Clean up pdt.c:
- make build dependent upon config OF_PROMTREE
- #ifdef out the sparc-specific stuff
- create pdt-specific header
Signed-off-by: Andres Salomon <dilinger@queued.net>
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig index 491e9d6de191..a06c9598c2ed 100644 --- a/arch/sparc/Kconfig +++ b/arch/sparc/Kconfig | |||
@@ -19,6 +19,7 @@ config SPARC | |||
19 | bool | 19 | bool |
20 | default y | 20 | default y |
21 | select OF | 21 | select OF |
22 | select OF_PROMTREE | ||
22 | select HAVE_IDE | 23 | select HAVE_IDE |
23 | select HAVE_OPROFILE | 24 | select HAVE_OPROFILE |
24 | select HAVE_ARCH_KGDB if !SMP || SPARC64 | 25 | select HAVE_ARCH_KGDB if !SMP || SPARC64 |