diff options
Diffstat (limited to 'arch/arm/mach-s3c2442/mach-gta02.c')
-rw-r--r-- | arch/arm/mach-s3c2442/mach-gta02.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/arm/mach-s3c2442/mach-gta02.c b/arch/arm/mach-s3c2442/mach-gta02.c index 825800bf5506..45799c608d8f 100644 --- a/arch/arm/mach-s3c2442/mach-gta02.c +++ b/arch/arm/mach-s3c2442/mach-gta02.c | |||
@@ -544,7 +544,7 @@ static struct platform_device gta02_bl_dev = { | |||
544 | 544 | ||
545 | 545 | ||
546 | /* USB */ | 546 | /* USB */ |
547 | static struct s3c2410_hcd_info gta02_usb_info = { | 547 | static struct s3c2410_hcd_info gta02_usb_info __initdata = { |
548 | .port[0] = { | 548 | .port[0] = { |
549 | .flags = S3C_HCDFLG_USED, | 549 | .flags = S3C_HCDFLG_USED, |
550 | }, | 550 | }, |
@@ -623,9 +623,8 @@ static void __init gta02_machine_init(void) | |||
623 | INIT_DELAYED_WORK(>a02_charger_work, gta02_charger_worker); | 623 | INIT_DELAYED_WORK(>a02_charger_work, gta02_charger_worker); |
624 | #endif | 624 | #endif |
625 | 625 | ||
626 | s3c_device_ohci.dev.platform_data = >a02_usb_info; | ||
627 | |||
628 | s3c24xx_udc_set_platdata(>a02_udc_cfg); | 626 | s3c24xx_udc_set_platdata(>a02_udc_cfg); |
627 | s3c_ohci_set_platdata(>a02_usb_info); | ||
629 | s3c_nand_set_platdata(>a02_nand_info); | 628 | s3c_nand_set_platdata(>a02_nand_info); |
630 | s3c_i2c0_set_platdata(NULL); | 629 | s3c_i2c0_set_platdata(NULL); |
631 | 630 | ||