diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-13 08:59:46 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-19 03:23:51 +0300 |
commit | f126752043c67003de6d34b14160f87ba0323c98 (patch) | |
tree | 383f3596e6b2ed862a5eed52e560404f95aa56e9 /arch/arm/mach-s3c2410/usb-simtec.c | |
parent | 0a6361316d6493b9dcbdda9a6a4586c3ccbfd008 (diff) | |
download | linux-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-s3c2410/usb-simtec.c')
-rw-r--r-- | arch/arm/mach-s3c2410/usb-simtec.c | 4 |
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; } |