of/promtree: make drivers/of/pdt.c no longer sparc-only
authorAndres Salomon <dilinger@queued.net>
Mon, 11 Oct 2010 03:42:33 +0000 (21:42 -0600)
committerGrant Likely <grant.likely@secretlab.ca>
Mon, 11 Oct 2010 03:53:30 +0000 (21:53 -0600)
commit3cfc535c5df8122af1258ae05aaf2770c033425d
treec5643066e544df08a852742060da2edfd2f6400d
parent9bdf6bab4ecfb6a8ca50c0c46f2365ef6c3e35b7
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>
arch/sparc/Kconfig
arch/sparc/include/asm/prom.h
arch/sparc/kernel/prom.h
arch/sparc/kernel/prom_common.c
drivers/of/Kconfig
drivers/of/Makefile
drivers/of/pdt.c
include/linux/of_pdt.h [new file with mode: 0644]