summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c2442
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-13 08:59:46 +0300
committerBen Dooks <ben-linux@fluff.org>2010-01-19 03:23:51 +0300
commitf126752043c67003de6d34b14160f87ba0323c98 (patch)
tree383f3596e6b2ed862a5eed52e560404f95aa56e9 /arch/arm/mach-s3c2442
parent0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (diff)
downloadlinux-f126752043c67003de6d34b14160f87ba0323c98.tar.xz
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')
-rw-r--r--arch/arm/mach-s3c2442/mach-gta02.c5
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 = {
/* USB */
-static struct s3c2410_hcd_info gta02_usb_info = {
+static struct s3c2410_hcd_info gta02_usb_info __initdata = {
.port[0] = {
.flags = S3C_HCDFLG_USED,
},
@@ -623,9 +623,8 @@ static void __init gta02_machine_init(void)
INIT_DELAYED_WORK(&gta02_charger_work, gta02_charger_worker);
#endif
- s3c_device_ohci.dev.platform_data = &gta02_usb_info;
-
s3c24xx_udc_set_platdata(&gta02_udc_cfg);
+ s3c_ohci_set_platdata(&gta02_usb_info);
s3c_nand_set_platdata(&gta02_nand_info);
s3c_i2c0_set_platdata(NULL);