diff options
Diffstat (limited to 'arch/arm/mach-s3c2410/mach-h1940.c')
| -rw-r--r-- | arch/arm/mach-s3c2410/mach-h1940.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/arm/mach-s3c2410/mach-h1940.c b/arch/arm/mach-s3c2410/mach-h1940.c index 1e34abe1a19e..fbedd0760941 100644 --- a/arch/arm/mach-s3c2410/mach-h1940.c +++ b/arch/arm/mach-s3c2410/mach-h1940.c | |||
| @@ -196,7 +196,7 @@ static struct platform_device h1940_device_bluetooth = { | |||
| 196 | .id = -1, | 196 | .id = -1, |
| 197 | }; | 197 | }; |
| 198 | 198 | ||
| 199 | static struct s3c24xx_mci_pdata h1940_mmc_cfg = { | 199 | static struct s3c24xx_mci_pdata h1940_mmc_cfg __initdata = { |
| 200 | .gpio_detect = S3C2410_GPF(5), | 200 | .gpio_detect = S3C2410_GPF(5), |
| 201 | .gpio_wprotect = S3C2410_GPH(8), | 201 | .gpio_wprotect = S3C2410_GPH(8), |
| 202 | .set_power = NULL, | 202 | .set_power = NULL, |
| @@ -272,7 +272,7 @@ static struct platform_device h1940_lcd_powerdev = { | |||
| 272 | 272 | ||
| 273 | static struct platform_device *h1940_devices[] __initdata = { | 273 | static struct platform_device *h1940_devices[] __initdata = { |
| 274 | &s3c_device_ts, | 274 | &s3c_device_ts, |
| 275 | &s3c_device_usb, | 275 | &s3c_device_ohci, |
| 276 | &s3c_device_lcd, | 276 | &s3c_device_lcd, |
| 277 | &s3c_device_wdt, | 277 | &s3c_device_wdt, |
| 278 | &s3c_device_i2c0, | 278 | &s3c_device_i2c0, |
| @@ -311,12 +311,11 @@ static void __init h1940_init(void) | |||
| 311 | u32 tmp; | 311 | u32 tmp; |
| 312 | 312 | ||
| 313 | s3c24xx_fb_set_platdata(&h1940_fb_info); | 313 | s3c24xx_fb_set_platdata(&h1940_fb_info); |
| 314 | s3c24xx_mci_set_platdata(&h1940_mmc_cfg); | ||
| 314 | s3c24xx_udc_set_platdata(&h1940_udc_cfg); | 315 | s3c24xx_udc_set_platdata(&h1940_udc_cfg); |
| 315 | s3c24xx_ts_set_platdata(&h1940_ts_cfg); | 316 | s3c24xx_ts_set_platdata(&h1940_ts_cfg); |
| 316 | s3c_i2c0_set_platdata(NULL); | 317 | s3c_i2c0_set_platdata(NULL); |
| 317 | 318 | ||
| 318 | s3c_device_sdi.dev.platform_data = &h1940_mmc_cfg; | ||
| 319 | |||
| 320 | /* Turn off suspend on both USB ports, and switch the | 319 | /* Turn off suspend on both USB ports, and switch the |
| 321 | * selectable USB port to USB device mode. */ | 320 | * selectable USB port to USB device mode. */ |
| 322 | 321 | ||
