summaryrefslogtreecommitdiff
path: root/arch/sparc/kernel/Makefile
diff options
context:
space:
mode:
authorRobert Reif <reif@earthlink.net>2009-06-04 02:00:02 -0700
committerDavid S. Miller <davem@davemloft.net>2009-06-16 04:56:49 -0700
commitc9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6 (patch)
treee209e70377b4fbaf95168366430884b3b2474d2e /arch/sparc/kernel/Makefile
parentd69864158e24f323e818403c6b89ad4871aea6f6 (diff)
downloadlwn-c9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6.tar.gz
lwn-c9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6.zip
sparc: move of_device common code to of_device_common
This patch moves code common to of_device_32.c and of_device_64.c into of_device_common.h and of_device_common.c. The only functional difference is in sparc32 where of_bus_default_map is used in place of of_bus_sbus_map because they are equivelent. There is still room for further code consolidation with some minor refactoring. Boot tested on sparc32 and compile tested on sparc64. Signed-off-by: Robert Reif <reif@earthlink.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/Makefile')
-rw-r--r--arch/sparc/kernel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sparc/kernel/Makefile b/arch/sparc/kernel/Makefile
index 47029c66b17a..475ce4696acd 100644
--- a/arch/sparc/kernel/Makefile
+++ b/arch/sparc/kernel/Makefile
@@ -37,6 +37,7 @@ obj-y += una_asm_$(BITS).o
obj-$(CONFIG_SPARC32) += muldiv.o
obj-y += prom_common.o
obj-y += prom_$(BITS).o
+obj-y += of_device_common.o
obj-y += of_device_$(BITS).o
obj-$(CONFIG_SPARC64) += prom_irqtrans.o