aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-s5p.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-s5p.c')
-rw-r--r--drivers/usb/host/ehci-s5p.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/host/ehci-s5p.c b/drivers/usb/host/ehci-s5p.c
index 321a03301ad2..e3374c8f7b3f 100644
--- a/drivers/usb/host/ehci-s5p.c
+++ b/drivers/usb/host/ehci-s5p.c
@@ -56,7 +56,7 @@ static const struct hc_driver s5p_ehci_hc_driver = {
56 .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete, 56 .clear_tt_buffer_complete = ehci_clear_tt_buffer_complete,
57}; 57};
58 58
59static int s5p_ehci_probe(struct platform_device *pdev) 59static int __devinit s5p_ehci_probe(struct platform_device *pdev)
60{ 60{
61 struct s5p_ehci_platdata *pdata; 61 struct s5p_ehci_platdata *pdata;
62 struct s5p_ehci_hcd *s5p_ehci; 62 struct s5p_ehci_hcd *s5p_ehci;
@@ -158,7 +158,7 @@ fail_hcd:
158 return err; 158 return err;
159} 159}
160 160
161static int s5p_ehci_remove(struct platform_device *pdev) 161static int __devexit s5p_ehci_remove(struct platform_device *pdev)
162{ 162{
163 struct s5p_ehci_platdata *pdata = pdev->dev.platform_data; 163 struct s5p_ehci_platdata *pdata = pdev->dev.platform_data;
164 struct s5p_ehci_hcd *s5p_ehci = platform_get_drvdata(pdev); 164 struct s5p_ehci_hcd *s5p_ehci = platform_get_drvdata(pdev);
@@ -191,7 +191,7 @@ static void s5p_ehci_shutdown(struct platform_device *pdev)
191 191
192static struct platform_driver s5p_ehci_driver = { 192static struct platform_driver s5p_ehci_driver = {
193 .probe = s5p_ehci_probe, 193 .probe = s5p_ehci_probe,
194 .remove = s5p_ehci_remove, 194 .remove = __devexit_p(s5p_ehci_remove),
195 .shutdown = s5p_ehci_shutdown, 195 .shutdown = s5p_ehci_shutdown,
196 .driver = { 196 .driver = {
197 .name = "s5p-ehci", 197 .name = "s5p-ehci",