aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/usb/host/ehci-exynos.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c
index 7f425acd9be5..4d763dc91f70 100644
--- a/drivers/usb/host/ehci-exynos.c
+++ b/drivers/usb/host/ehci-exynos.c
@@ -50,9 +50,8 @@ struct exynos_ehci_hcd {
50 50
51#define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv) 51#define to_exynos_ehci(hcd) (struct exynos_ehci_hcd *)(hcd_to_ehci(hcd)->priv)
52 52
53static void exynos_setup_vbus_gpio(struct platform_device *pdev) 53static void exynos_setup_vbus_gpio(struct device *dev)
54{ 54{
55 struct device *dev = &pdev->dev;
56 int err; 55 int err;
57 int gpio; 56 int gpio;
58 57
@@ -88,7 +87,7 @@ static int exynos_ehci_probe(struct platform_device *pdev)
88 if (err) 87 if (err)
89 return err; 88 return err;
90 89
91 exynos_setup_vbus_gpio(pdev); 90 exynos_setup_vbus_gpio(&pdev->dev);
92 91
93 hcd = usb_create_hcd(&exynos_ehci_hc_driver, 92 hcd = usb_create_hcd(&exynos_ehci_hc_driver,
94 &pdev->dev, dev_name(&pdev->dev)); 93 &pdev->dev, dev_name(&pdev->dev));