diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-13 00:59:46 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-18 19:23:51 -0500 |
commit | f126752043c67003de6d34b14160f87ba0323c98 (patch) | |
tree | 383f3596e6b2ed862a5eed52e560404f95aa56e9 /arch/arm/mach-s3c2442/mach-gta02.c | |
parent | 0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (diff) |
ARM: SAMSUNG: Add platform data registration for OHCI
Add a platform data helper for the OHCI device
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
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 | ||