diff options
author | Robert Reif <reif@earthlink.net> | 2009-06-04 11:00:02 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-16 13:56:49 +0200 |
commit | c9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6 (patch) | |
tree | e209e70377b4fbaf95168366430884b3b2474d2e /arch/sparc/kernel/Makefile | |
parent | sparc: remove dma-mapping_{32|64}.h (diff) | |
download | linux-c9f5b7e77c30da25104a3f7f26ac46c07d7b5cb6.tar.xz linux-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/Makefile | 1 |
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 |