aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/fhci-hcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/fhci-hcd.c')
-rw-r--r--drivers/usb/host/fhci-hcd.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/fhci-hcd.c b/drivers/usb/host/fhci-hcd.c
index 7da1a26bed2e..0b46542591ff 100644
--- a/drivers/usb/host/fhci-hcd.c
+++ b/drivers/usb/host/fhci-hcd.c
@@ -561,7 +561,7 @@ static const struct hc_driver fhci_driver = {
561 .hub_control = fhci_hub_control, 561 .hub_control = fhci_hub_control,
562}; 562};
563 563
564static int __devinit of_fhci_probe(struct platform_device *ofdev) 564static int of_fhci_probe(struct platform_device *ofdev)
565{ 565{
566 struct device *dev = &ofdev->dev; 566 struct device *dev = &ofdev->dev;
567 struct device_node *node = dev->of_node; 567 struct device_node *node = dev->of_node;
@@ -780,7 +780,7 @@ err_regs:
780 return ret; 780 return ret;
781} 781}
782 782
783static int __devexit fhci_remove(struct device *dev) 783static int fhci_remove(struct device *dev)
784{ 784{
785 struct usb_hcd *hcd = dev_get_drvdata(dev); 785 struct usb_hcd *hcd = dev_get_drvdata(dev);
786 struct fhci_hcd *fhci = hcd_to_fhci(hcd); 786 struct fhci_hcd *fhci = hcd_to_fhci(hcd);
@@ -803,7 +803,7 @@ static int __devexit fhci_remove(struct device *dev)
803 return 0; 803 return 0;
804} 804}
805 805
806static int __devexit of_fhci_remove(struct platform_device *ofdev) 806static int of_fhci_remove(struct platform_device *ofdev)
807{ 807{
808 return fhci_remove(&ofdev->dev); 808 return fhci_remove(&ofdev->dev);
809} 809}
@@ -821,7 +821,7 @@ static struct platform_driver of_fhci_driver = {
821 .of_match_table = of_fhci_match, 821 .of_match_table = of_fhci_match,
822 }, 822 },
823 .probe = of_fhci_probe, 823 .probe = of_fhci_probe,
824 .remove = __devexit_p(of_fhci_remove), 824 .remove = of_fhci_remove,
825}; 825};
826 826
827module_platform_driver(of_fhci_driver); 827module_platform_driver(of_fhci_driver);