]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - drivers/usb/host/r8a66597-hcd.c
Merge branch 'master' into tk71
[mv-sheeva.git] / drivers / usb / host / r8a66597-hcd.c
index 77be3c24a4279d0aca3cc268164cf20960e135f5..3076b1cc05df3508cc991425f3f39fe3ddb77222 100644 (file)
@@ -2397,7 +2397,7 @@ static const struct dev_pm_ops r8a66597_dev_pm_ops = {
 #define R8A66597_DEV_PM_OPS    NULL
 #endif
 
-static int __init_or_module r8a66597_remove(struct platform_device *pdev)
+static int __devexit r8a66597_remove(struct platform_device *pdev)
 {
        struct r8a66597         *r8a66597 = dev_get_drvdata(&pdev->dev);
        struct usb_hcd          *hcd = r8a66597_to_hcd(r8a66597);
@@ -2542,7 +2542,7 @@ clean_up:
 
 static struct platform_driver r8a66597_driver = {
        .probe =        r8a66597_probe,
-       .remove =       r8a66597_remove,
+       .remove =       __devexit_p(r8a66597_remove),
        .driver         = {
                .name = (char *) hcd_name,
                .owner  = THIS_MODULE,