aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/ci13xxx_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/chipidea/ci13xxx_pci.c')
-rw-r--r--drivers/usb/chipidea/ci13xxx_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/chipidea/ci13xxx_pci.c b/drivers/usb/chipidea/ci13xxx_pci.c
index 918e14971f2b..9b227e39299a 100644
--- a/drivers/usb/chipidea/ci13xxx_pci.c
+++ b/drivers/usb/chipidea/ci13xxx_pci.c
@@ -48,7 +48,7 @@ struct ci13xxx_platform_data penwell_pci_platdata = {
48 * Allocates basic PCI resources for this USB device controller, and then 48 * Allocates basic PCI resources for this USB device controller, and then
49 * invokes the udc_probe() method to start the UDC associated with it 49 * invokes the udc_probe() method to start the UDC associated with it
50 */ 50 */
51static int __devinit ci13xxx_pci_probe(struct pci_dev *pdev, 51static int ci13xxx_pci_probe(struct pci_dev *pdev,
52 const struct pci_device_id *id) 52 const struct pci_device_id *id)
53{ 53{
54 struct ci13xxx_platform_data *platdata = (void *)id->driver_data; 54 struct ci13xxx_platform_data *platdata = (void *)id->driver_data;
@@ -107,7 +107,7 @@ static int __devinit ci13xxx_pci_probe(struct pci_dev *pdev,
107 * first invoking the udc_remove() and then releases 107 * first invoking the udc_remove() and then releases
108 * all PCI resources allocated for this USB device controller 108 * all PCI resources allocated for this USB device controller
109 */ 109 */
110static void __devexit ci13xxx_pci_remove(struct pci_dev *pdev) 110static void ci13xxx_pci_remove(struct pci_dev *pdev)
111{ 111{
112 struct platform_device *plat_ci = pci_get_drvdata(pdev); 112 struct platform_device *plat_ci = pci_get_drvdata(pdev);
113 113
@@ -147,7 +147,7 @@ static struct pci_driver ci13xxx_pci_driver = {
147 .name = UDC_DRIVER_NAME, 147 .name = UDC_DRIVER_NAME,
148 .id_table = ci13xxx_pci_id_table, 148 .id_table = ci13xxx_pci_id_table,
149 .probe = ci13xxx_pci_probe, 149 .probe = ci13xxx_pci_probe,
150 .remove = __devexit_p(ci13xxx_pci_remove), 150 .remove = ci13xxx_pci_remove,
151}; 151};
152 152
153module_pci_driver(ci13xxx_pci_driver); 153module_pci_driver(ci13xxx_pci_driver);