|
@@ -94,7 +94,7 @@ static void at91_stop_hc(struct platform_device *pdev)
|
|
|
|
|
|
/*-------------------------------------------------------------------------*/
|
|
|
|
|
|
-static void __devexit usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
|
|
|
+static void usb_hcd_at91_remove (struct usb_hcd *, struct platform_device *);
|
|
|
|
|
|
/* configure so an HC device and id are always provided */
|
|
|
/* always called with process context; sleeping is OK */
|
|
@@ -203,7 +203,7 @@ static int usb_hcd_at91_probe(const struct hc_driver *driver,
|
|
|
* context, "rmmod" or something similar.
|
|
|
*
|
|
|
*/
|
|
|
-static void __devexit usb_hcd_at91_remove(struct usb_hcd *hcd,
|
|
|
+static void usb_hcd_at91_remove(struct usb_hcd *hcd,
|
|
|
struct platform_device *pdev)
|
|
|
{
|
|
|
usb_remove_hcd(hcd);
|
|
@@ -641,7 +641,7 @@ static int ohci_hcd_at91_drv_probe(struct platform_device *pdev)
|
|
|
return usb_hcd_at91_probe(&ohci_at91_hc_driver, pdev);
|
|
|
}
|
|
|
|
|
|
-static int __devexit ohci_hcd_at91_drv_remove(struct platform_device *pdev)
|
|
|
+static int ohci_hcd_at91_drv_remove(struct platform_device *pdev)
|
|
|
{
|
|
|
struct at91_usbh_data *pdata = pdev->dev.platform_data;
|
|
|
int i;
|