diff options
Diffstat (limited to 'drivers/usb/gadget/r8a66597-udc.c')
-rw-r--r-- | drivers/usb/gadget/r8a66597-udc.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/usb/gadget/r8a66597-udc.c b/drivers/usb/gadget/r8a66597-udc.c index 5a80751accb7..9a9fadd9095f 100644 --- a/drivers/usb/gadget/r8a66597-udc.c +++ b/drivers/usb/gadget/r8a66597-udc.c | |||
@@ -2031,21 +2031,10 @@ static struct platform_driver r8a66597_driver = { | |||
2031 | .name = (char *) udc_name, | 2031 | .name = (char *) udc_name, |
2032 | }, | 2032 | }, |
2033 | }; | 2033 | }; |
2034 | MODULE_ALIAS("platform:r8a66597_udc"); | ||
2035 | |||
2036 | static int __init r8a66597_udc_init(void) | ||
2037 | { | ||
2038 | return platform_driver_probe(&r8a66597_driver, r8a66597_probe); | ||
2039 | } | ||
2040 | module_init(r8a66597_udc_init); | ||
2041 | 2034 | ||
2042 | static void __exit r8a66597_udc_cleanup(void) | 2035 | module_platform_driver_probe(r8a66597_driver, r8a66597_probe); |
2043 | { | ||
2044 | platform_driver_unregister(&r8a66597_driver); | ||
2045 | } | ||
2046 | module_exit(r8a66597_udc_cleanup); | ||
2047 | 2036 | ||
2048 | MODULE_DESCRIPTION("R8A66597 USB gadget driver"); | 2037 | MODULE_DESCRIPTION("R8A66597 USB gadget driver"); |
2049 | MODULE_LICENSE("GPL"); | 2038 | MODULE_LICENSE("GPL"); |
2050 | MODULE_AUTHOR("Yoshihiro Shimoda"); | 2039 | MODULE_AUTHOR("Yoshihiro Shimoda"); |
2051 | 2040 | MODULE_ALIAS("platform:r8a66597_udc"); | |