aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/ehci-fsl.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c
index 991174937db3..593a7e76cffa 100644
--- a/drivers/usb/host/ehci-fsl.c
+++ b/drivers/usb/host/ehci-fsl.c
@@ -40,8 +40,8 @@
40 * Allocates basic resources for this USB host controller. 40 * Allocates basic resources for this USB host controller.
41 * 41 *
42 */ 42 */
43int usb_hcd_fsl_probe(const struct hc_driver *driver, 43static int usb_hcd_fsl_probe(const struct hc_driver *driver,
44 struct platform_device *pdev) 44 struct platform_device *pdev)
45{ 45{
46 struct fsl_usb2_platform_data *pdata; 46 struct fsl_usb2_platform_data *pdata;
47 struct usb_hcd *hcd; 47 struct usb_hcd *hcd;
@@ -147,7 +147,8 @@ int usb_hcd_fsl_probe(const struct hc_driver *driver,
147 * Reverses the effect of usb_hcd_fsl_probe(). 147 * Reverses the effect of usb_hcd_fsl_probe().
148 * 148 *
149 */ 149 */
150void usb_hcd_fsl_remove(struct usb_hcd *hcd, struct platform_device *pdev) 150static void usb_hcd_fsl_remove(struct usb_hcd *hcd,
151 struct platform_device *pdev)
151{ 152{
152 usb_remove_hcd(hcd); 153 usb_remove_hcd(hcd);
153 iounmap(hcd->regs); 154 iounmap(hcd->regs);