]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] pxa: move platform devices to separate header file
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 15 May 2007 14:39:36 +0000 (15:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 12 Jul 2007 13:28:21 +0000 (14:28 +0100)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
14 files changed:
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/devices.h [new file with mode: 0644]
arch/arm/mach-pxa/generic.c
arch/arm/mach-pxa/generic.h
arch/arm/mach-pxa/idp.c
arch/arm/mach-pxa/lpd270.c
arch/arm/mach-pxa/lubbock.c
arch/arm/mach-pxa/mainstone.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/tosa.c
arch/arm/mach-pxa/trizeps4.c

index a12eb18391b18128b1c2d121a697f2804d1e1c22..aab27297b3c60da5937852e50a05cd70a27da5b8 100644 (file)
@@ -44,6 +44,7 @@
 #include <asm/hardware/scoop.h>
 
 #include "generic.h"
+#include "devices.h"
 #include "sharpsl.h"
 
 
diff --git a/arch/arm/mach-pxa/devices.h b/arch/arm/mach-pxa/devices.h
new file mode 100644 (file)
index 0000000..9a6faff
--- /dev/null
@@ -0,0 +1,11 @@
+extern struct platform_device pxamci_device;
+extern struct platform_device pxaudc_device;
+extern struct platform_device pxafb_device;
+extern struct platform_device ffuart_device;
+extern struct platform_device btuart_device;
+extern struct platform_device stuart_device;
+extern struct platform_device hwuart_device;
+extern struct platform_device pxai2c_device;
+extern struct platform_device pxai2s_device;
+extern struct platform_device pxaficp_device;
+extern struct platform_device pxartc_device;
index a496e498ef57bffb9236afeab4d28ac29807b17f..296539b6359ca43af779f59e5fa078351c14195b 100644 (file)
@@ -43,6 +43,7 @@
 #include <asm/arch/irda.h>
 #include <asm/arch/i2c.h>
 
+#include "devices.h"
 #include "generic.h"
 
 /*
index b9b96ec4b9bc814d416f889bba41e994552fd693..91ab2ad8b34b78020da69be0bc71c5597c529ab4 100644 (file)
@@ -26,14 +26,3 @@ extern unsigned int get_clk_frequency_khz(int info);
        mi->bank[__nr].size = (__size), \
        mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
 
-extern struct platform_device pxamci_device;
-extern struct platform_device pxaudc_device;
-extern struct platform_device pxafb_device;
-extern struct platform_device ffuart_device;
-extern struct platform_device btuart_device;
-extern struct platform_device stuart_device;
-extern struct platform_device hwuart_device;
-extern struct platform_device pxai2c_device;
-extern struct platform_device pxai2s_device;
-extern struct platform_device pxaficp_device;
-extern struct platform_device pxartc_device;
index ffa73fae3d8db82a68343a6f49a14c17359d12ba..465108da285103be616ecfd8f13f9f5d302bcb63 100644 (file)
@@ -38,6 +38,7 @@
 #include <asm/arch/mmc.h>
 
 #include "generic.h"
+#include "devices.h"
 
 /* TODO:
  * - add pxa2xx_audio_ops_t device structure
index 7949f60d7d7f8b9593832cadc278cf5ec12c3340..26116440a7c927648d7b8a3e493bdf042cab3beb 100644 (file)
@@ -46,6 +46,7 @@
 #include <asm/arch/ohci.h>
 
 #include "generic.h"
+#include "devices.h"
 
 
 static unsigned int lpd270_irq_enabled;
index 45a3c7e635b579a451a506d17dac8393167e70d2..e70048fd00a53e28f08667a4331aad4c0258ea28 100644 (file)
@@ -48,6 +48,7 @@
 #include <asm/arch/mmc.h>
 
 #include "generic.h"
+#include "devices.h"
 
 
 #define LUB_MISC_WR            __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080)
index 086b4e2f5bef6347acc451b873755e8adbdd6d5b..b02c79c7e6a3c7d7bf972d0d200eae6e680bee63 100644 (file)
@@ -46,6 +46,7 @@
 #include <asm/arch/ohci.h>
 
 #include "generic.h"
+#include "devices.h"
 
 
 static unsigned long mainstone_irq_enabled;
index 53eaccfd6da7aa08affacb6a51d2b2563a3c6812..655668d4d0e9936a0eb925fa1b8d292ecde31a0f 100644 (file)
@@ -45,6 +45,7 @@
 #include <asm/mach/sharpsl_param.h>
 
 #include "generic.h"
+#include "devices.h"
 #include "sharpsl.h"
 
 static struct resource poodle_scoop_resources[] = {
index 72b949bdf6589dc9e8a7b4dd9167ae41f973942b..f36ca448338e380ff76cef2764193a7d83e4949c 100644 (file)
@@ -29,6 +29,7 @@
 #include <asm/arch/dma.h>
 
 #include "generic.h"
+#include "devices.h"
 
 /*
  * Various clock factors driven by the CCCR register.
index 27fd2fa56eaf087337e09ec7154c161d511cc395..aa5bb02c897bd331c59ce29b1bcbc10c2be83e81 100644 (file)
@@ -26,6 +26,7 @@
 #include <asm/arch/dma.h>
 
 #include "generic.h"
+#include "devices.h"
 
 /* Crystal clock: 13MHz */
 #define BASE_CLK       13000000
index 838b73d159e3dc66eece22ef055920ba56655ca5..bae47e145de83e01eefaf1b6fd2b05a0265f6f7a 100644 (file)
@@ -48,6 +48,7 @@
 #include <asm/hardware/scoop.h>
 
 #include "generic.h"
+#include "devices.h"
 #include "sharpsl.h"
 
 /*
index 01725346600501684ae2ba97be131625545ceb07..240fd042083da10e6639f36c2b33dec5c2b8f895 100644 (file)
@@ -42,7 +42,7 @@
 #include <asm/mach/sharpsl_param.h>
 
 #include "generic.h"
-
+#include "devices.h"
 
 /*
  * SCOOP Device
index 47a1f7ee2bbbefae712dcffdb41c36d81427247d..e4ba43bdf85d9756123e13bd105b1024ef42a240 100644 (file)
@@ -49,6 +49,7 @@
 #include <asm/arch/ohci.h>
 
 #include "generic.h"
+#include "devices.h"
 
 /********************************************************************************************
  * ONBOARD FLASH