aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorAndy Green <andy@openmoko.com>2008-11-19 17:11:10 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-19 17:11:10 +0000
commitc2ca0dcb4987e9b52354c54f3eb5e953311be2d0 (patch)
treebb7416a114fdaccb275eb6585612aaeb23c954bd /arch
parent6d7168a4b1cfcc96b873334560431364af0a54e8 (diff)
clean-device-registration-to-array.patch
Well dependencies of pcf50633 are getting a bit much, let's break them out into an array Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-s3c2440/mach-gta02.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-gta02.c b/arch/arm/mach-s3c2440/mach-gta02.c
index fe99bca51a5..cad95f3a826 100644
--- a/arch/arm/mach-s3c2440/mach-gta02.c
+++ b/arch/arm/mach-s3c2440/mach-gta02.c
@@ -1659,6 +1659,30 @@ static int __init hardware_ecc_setup(char *str)
__setup("hardware_ecc=", hardware_ecc_setup);
+static struct platform_device *gta02_devices[] __initdata = {
+ &s3c_device_spi_acc,
+ &gta02_button_dev,
+ &gta02_pm_usbhost_dev,
+ &gta02_pmu_dev,
+ &gta02_sdio_dev,
+ &s3c_device_usb,
+ &s3c_device_wdt,
+ &s3c_device_i2c,
+ &s3c_device_iis,
+ // &s3c_device_sdi, /* FIXME: temporary disable to avoid s3cmci bind */
+ &s3c_device_usbgadget,
+ &s3c_device_nand,
+ &s3c_device_ts,
+ &gta02_nor_flash,
+ &sc32440_fiq_device,
+ &gta02_version_device,
+ &gta02_memconfig_device,
+ &gta02_resume_reason_device,
+ &s3c24xx_pwm_device,
+ &gta02_pm_wlan_dev,
+};
+
+
static void __init gta02_machine_init(void)
{
int rc;