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-s3c2410 | |
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-s3c2410')
-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) | |||
91 | } | 91 | } |
92 | } | 92 | } |
93 | 93 | ||
94 | static struct s3c2410_hcd_info usb_simtec_info = { | 94 | static struct s3c2410_hcd_info usb_simtec_info __initdata = { |
95 | .port[0] = { | 95 | .port[0] = { |
96 | .flags = S3C_HCDFLG_USED | 96 | .flags = S3C_HCDFLG_USED |
97 | }, | 97 | }, |
@@ -127,6 +127,6 @@ int usb_simtec_init(void) | |||
127 | gpio_direction_output(S3C2410_GPB(4), 1); | 127 | gpio_direction_output(S3C2410_GPB(4), 1); |
128 | gpio_direction_input(S3C2410_GPG(10)); | 128 | gpio_direction_input(S3C2410_GPG(10)); |
129 | 129 | ||
130 | s3c_device_ohci.dev.platform_data = &usb_simtec_info; | 130 | s3c_ohci_set_platdata(&usb_simtec_info); |
131 | return 0; | 131 | return 0; |
132 | } | 132 | } |