aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/r8a66597-udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/r8a66597-udc.c')
-rw-r--r--drivers/usb/gadget/r8a66597-udc.c15
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};
2034MODULE_ALIAS("platform:r8a66597_udc");
2035
2036static int __init r8a66597_udc_init(void)
2037{
2038 return platform_driver_probe(&r8a66597_driver, r8a66597_probe);
2039}
2040module_init(r8a66597_udc_init);
2041 2034
2042static void __exit r8a66597_udc_cleanup(void) 2035module_platform_driver_probe(r8a66597_driver, r8a66597_probe);
2043{
2044 platform_driver_unregister(&r8a66597_driver);
2045}
2046module_exit(r8a66597_udc_cleanup);
2047 2036
2048MODULE_DESCRIPTION("R8A66597 USB gadget driver"); 2037MODULE_DESCRIPTION("R8A66597 USB gadget driver");
2049MODULE_LICENSE("GPL"); 2038MODULE_LICENSE("GPL");
2050MODULE_AUTHOR("Yoshihiro Shimoda"); 2039MODULE_AUTHOR("Yoshihiro Shimoda");
2051 2040MODULE_ALIAS("platform:r8a66597_udc");