aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ohci-s3c2410.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ohci-s3c2410.c')
-rw-r--r--drivers/usb/host/ohci-s3c2410.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c
index 682bf2215660..b27669fe9f0f 100644
--- a/drivers/usb/host/ohci-s3c2410.c
+++ b/drivers/usb/host/ohci-s3c2410.c
@@ -37,7 +37,7 @@ static void s3c2410_hcd_oc(struct s3c2410_hcd_info *info, int port_oc);
37 37
38/* conversion functions */ 38/* conversion functions */
39 39
40struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd) 40static struct s3c2410_hcd_info *to_s3c2410_info(struct usb_hcd *hcd)
41{ 41{
42 return hcd->self.controller->platform_data; 42 return hcd->self.controller->platform_data;
43} 43}
@@ -316,7 +316,8 @@ static void s3c2410_hcd_oc(struct s3c2410_hcd_info *info, int port_oc)
316 * 316 *
317*/ 317*/
318 318
319void usb_hcd_s3c2410_remove (struct usb_hcd *hcd, struct platform_device *dev) 319static void
320usb_hcd_s3c2410_remove (struct usb_hcd *hcd, struct platform_device *dev)
320{ 321{
321 usb_remove_hcd(hcd); 322 usb_remove_hcd(hcd);
322 s3c2410_stop_hc(dev); 323 s3c2410_stop_hc(dev);
@@ -334,8 +335,8 @@ void usb_hcd_s3c2410_remove (struct usb_hcd *hcd, struct platform_device *dev)
334 * through the hotplug entry's driver_data. 335 * through the hotplug entry's driver_data.
335 * 336 *
336 */ 337 */
337int usb_hcd_s3c2410_probe (const struct hc_driver *driver, 338static int usb_hcd_s3c2410_probe (const struct hc_driver *driver,
338 struct platform_device *dev) 339 struct platform_device *dev)
339{ 340{
340 struct usb_hcd *hcd = NULL; 341 struct usb_hcd *hcd = NULL;
341 int retval; 342 int retval;