summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410/usb-simtec.c
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2010-01-13 06:59:46 +0100
committerBen Dooks <ben-linux@fluff.org>2010-01-19 01:23:51 +0100
commitf126752043c67003de6d34b14160f87ba0323c98 (patch)
tree383f3596e6b2ed862a5eed52e560404f95aa56e9 /arch/arm/mach-s3c2410/usb-simtec.c
parentARM: SAMSUNG: Make UART device code common (diff)
downloadlinux-f126752043c67003de6d34b14160f87ba0323c98.tar.xz
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-s3c2410/usb-simtec.c')
-rw-r--r--arch/arm/mach-s3c2410/usb-simtec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c2410/usb-simtec.c b/arch/arm/mach-s3c2410/usb-simtec.c
index 199bb4ffe689..29bd3d987bec 100644
--- a/arch/arm/mach-s3c2410/usb-simtec.c
+++ b/arch/arm/mach-s3c2410/usb-simtec.c
@@ -91,7 +91,7 @@ static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on)
}
}
-static struct s3c2410_hcd_info usb_simtec_info = {
+static struct s3c2410_hcd_info usb_simtec_info __initdata = {
.port[0] = {
.flags = S3C_HCDFLG_USED
},
@@ -127,6 +127,6 @@ int usb_simtec_init(void)
gpio_direction_output(S3C2410_GPB(4), 1);
gpio_direction_input(S3C2410_GPG(10));
- s3c_device_ohci.dev.platform_data = &usb_simtec_info;
+ s3c_ohci_set_platdata(&usb_simtec_info);
return 0;
}