summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2442/mach-gta02.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-13 14:59:46 +0900
committerBen Dooks <ben-linux@fluff.org>2010-01-19 09:23:51 +0900
commitf126752043c67003de6d34b14160f87ba0323c98 (patch)
tree383f3596e6b2ed862a5eed52e560404f95aa56e9 /arch/arm/mach-s3c2442/mach-gta02.c
parent0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (diff)
downloadtalos-obmc-linux-f126752043c67003de6d34b14160f87ba0323c98.tar.gz
talos-obmc-linux-f126752043c67003de6d34b14160f87ba0323c98.zip
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.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);
OpenPOWER on IntegriCloud