diff options
Diffstat (limited to 'drivers/media/rc/ati_remote.c')
-rw-r--r-- | drivers/media/rc/ati_remote.c | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/drivers/media/rc/ati_remote.c b/drivers/media/rc/ati_remote.c index 303f22ea04c0..4363bc38aab0 100644 --- a/drivers/media/rc/ati_remote.c +++ b/drivers/media/rc/ati_remote.c | |||
@@ -908,38 +908,7 @@ static void ati_remote_disconnect(struct usb_interface *interface) | |||
908 | kfree(ati_remote); | 908 | kfree(ati_remote); |
909 | } | 909 | } |
910 | 910 | ||
911 | /* | 911 | module_usb_driver(ati_remote_driver); |
912 | * ati_remote_init | ||
913 | */ | ||
914 | static int __init ati_remote_init(void) | ||
915 | { | ||
916 | int result; | ||
917 | |||
918 | result = usb_register(&ati_remote_driver); | ||
919 | if (result) | ||
920 | printk(KERN_ERR KBUILD_MODNAME | ||
921 | ": usb_register error #%d\n", result); | ||
922 | else | ||
923 | printk(KERN_INFO KBUILD_MODNAME ": " DRIVER_VERSION ":" | ||
924 | DRIVER_DESC "\n"); | ||
925 | |||
926 | return result; | ||
927 | } | ||
928 | |||
929 | /* | ||
930 | * ati_remote_exit | ||
931 | */ | ||
932 | static void __exit ati_remote_exit(void) | ||
933 | { | ||
934 | usb_deregister(&ati_remote_driver); | ||
935 | } | ||
936 | |||
937 | /* | ||
938 | * module specification | ||
939 | */ | ||
940 | |||
941 | module_init(ati_remote_init); | ||
942 | module_exit(ati_remote_exit); | ||
943 | 912 | ||
944 | MODULE_AUTHOR(DRIVER_AUTHOR); | 913 | MODULE_AUTHOR(DRIVER_AUTHOR); |
945 | MODULE_DESCRIPTION(DRIVER_DESC); | 914 | MODULE_DESCRIPTION(DRIVER_DESC); |