diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:10 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:10 +0000 |
commit | c2ca0dcb4987e9b52354c54f3eb5e953311be2d0 (patch) | |
tree | bb7416a114fdaccb275eb6585612aaeb23c954bd /arch | |
parent | 6d7168a4b1cfcc96b873334560431364af0a54e8 (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.c | 24 |
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, + >a02_button_dev, + >a02_pm_usbhost_dev, + >a02_pmu_dev, + >a02_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, + >a02_nor_flash, + &sc32440_fiq_device, + >a02_version_device, + >a02_memconfig_device, + >a02_resume_reason_device, + &s3c24xx_pwm_device, + >a02_pm_wlan_dev, +}; + + static void __init gta02_machine_init(void) { int rc; |