diff options
Diffstat (limited to 'drivers/input/misc/ati_remote2.c')
| -rw-r--r-- | drivers/input/misc/ati_remote2.c | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/drivers/input/misc/ati_remote2.c b/drivers/input/misc/ati_remote2.c index 8d345e87075e..874a51c2fbb2 100644 --- a/drivers/input/misc/ati_remote2.c +++ b/drivers/input/misc/ati_remote2.c | |||
| @@ -1010,23 +1010,4 @@ static int ati_remote2_post_reset(struct usb_interface *interface) | |||
| 1010 | return r; | 1010 | return r; |
| 1011 | } | 1011 | } |
| 1012 | 1012 | ||
| 1013 | static int __init ati_remote2_init(void) | 1013 | module_usb_driver(ati_remote2_driver); |
| 1014 | { | ||
| 1015 | int r; | ||
| 1016 | |||
| 1017 | r = usb_register(&ati_remote2_driver); | ||
| 1018 | if (r) | ||
| 1019 | printk(KERN_ERR "ati_remote2: usb_register() = %d\n", r); | ||
| 1020 | else | ||
| 1021 | printk(KERN_INFO "ati_remote2: " DRIVER_DESC " " DRIVER_VERSION "\n"); | ||
| 1022 | |||
| 1023 | return r; | ||
| 1024 | } | ||
| 1025 | |||
| 1026 | static void __exit ati_remote2_exit(void) | ||
| 1027 | { | ||
| 1028 | usb_deregister(&ati_remote2_driver); | ||
| 1029 | } | ||
| 1030 | |||
| 1031 | module_init(ati_remote2_init); | ||
| 1032 | module_exit(ati_remote2_exit); | ||
