MIPS: Octeon: Move some platform device registration to its own file.
PATCH 1/1 MIPS: Octeon: Move some platform device registration to its own file.
There is a bunch of platform device registration in arch/mips/cavium-octeon/setup.c. We move it to its own file in preparation for adding more platform devices.
Signed-off-by David Daney <[email protected]>
--- arch/mips/cavium-octeon/Makefile | 4 +- arch/mips/cavium-octeon/octeon-platform.c | 164 +++++++++++++++++++++++++++++ arch/mips/cavium-octeon/setup.c | 146 ------------------------- 3 files changed, 166 insertions(+), 148 deletions(-) create mode 100644 arch/mips/cavium-octeon/octeon-platform.c
arch/mips/cavium-octeon/Makefile +2 -2
@@ -6,10 +6,10 @@ # License. See the file "COPYING" in the main directory of this archive # for more details. # -# Copyright (C) 2005-2008 Cavium Networks +# Copyright (C) 2005-2009 Cavium Networks # -obj-y := setup.o serial.o octeon-irq.o csrc-octeon.o +obj-y := setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o obj-y += dma-octeon.o flash_setup.o obj-y += octeon-memcpy.o
arch/mips/cavium-octeon/octeon-platform.c new file +164 -0
164 lines not on this page · raw message
arch/mips/cavium-octeon/setup.c +0 -146
161 lines not on this page · raw message
Signature · 1 line
1.6.0.6