diff options
author | Andres Salomon <dilinger@queued.net> | 2010-10-10 21:42:33 -0600 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2010-10-10 21:53:30 -0600 |
commit | 3cfc535c5df8122af1258ae05aaf2770c033425d (patch) | |
tree | c5643066e544df08a852742060da2edfd2f6400d /drivers/of/Kconfig | |
parent | 9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7 (diff) | |
download | lwn-3cfc535c5df8122af1258ae05aaf2770c033425d.tar.gz lwn-3cfc535c5df8122af1258ae05aaf2770c033425d.zip |
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 'drivers/of/Kconfig')
-rw-r--r-- | drivers/of/Kconfig | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/of/Kconfig b/drivers/of/Kconfig index 6acbff389ab6..aa675ebd8eb3 100644 --- a/drivers/of/Kconfig +++ b/drivers/of/Kconfig @@ -4,7 +4,7 @@ config DTC config OF bool -menu "Flattened Device Tree and Open Firmware support" +menu "Device Tree and Open Firmware support" depends on OF config PROC_DEVICETREE @@ -19,6 +19,9 @@ config OF_FLATTREE bool select DTC +config OF_PROMTREE + bool + config OF_DYNAMIC def_bool y depends on PPC_OF |