diff options
Diffstat (limited to 'drivers/usb/c67x00/c67x00-drv.c')
-rw-r--r-- | drivers/usb/c67x00/c67x00-drv.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/usb/c67x00/c67x00-drv.c b/drivers/usb/c67x00/c67x00-drv.c index 57ae44cd0b88..6f3b6e267398 100644 --- a/drivers/usb/c67x00/c67x00-drv.c +++ b/drivers/usb/c67x00/c67x00-drv.c | |||
@@ -225,21 +225,10 @@ static struct platform_driver c67x00_driver = { | |||
225 | .name = "c67x00", | 225 | .name = "c67x00", |
226 | }, | 226 | }, |
227 | }; | 227 | }; |
228 | MODULE_ALIAS("platform:c67x00"); | ||
229 | |||
230 | static int __init c67x00_init(void) | ||
231 | { | ||
232 | return platform_driver_register(&c67x00_driver); | ||
233 | } | ||
234 | 228 | ||
235 | static void __exit c67x00_exit(void) | 229 | module_platform_driver(c67x00_driver); |
236 | { | ||
237 | platform_driver_unregister(&c67x00_driver); | ||
238 | } | ||
239 | |||
240 | module_init(c67x00_init); | ||
241 | module_exit(c67x00_exit); | ||
242 | 230 | ||
243 | MODULE_AUTHOR("Peter Korsgaard, Jan Veldeman, Grant Likely"); | 231 | MODULE_AUTHOR("Peter Korsgaard, Jan Veldeman, Grant Likely"); |
244 | MODULE_DESCRIPTION("Cypress C67X00 USB Controller Driver"); | 232 | MODULE_DESCRIPTION("Cypress C67X00 USB Controller Driver"); |
245 | MODULE_LICENSE("GPL"); | 233 | MODULE_LICENSE("GPL"); |
234 | MODULE_ALIAS("platform:c67x00"); | ||