diff options
Diffstat (limited to 'drivers/hid/hid-speedlink.c')
-rw-r--r-- | drivers/hid/hid-speedlink.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-speedlink.c b/drivers/hid/hid-speedlink.c index 602013741718..e94371a059cb 100644 --- a/drivers/hid/hid-speedlink.c +++ b/drivers/hid/hid-speedlink.c | |||
@@ -73,17 +73,6 @@ static struct hid_driver speedlink_driver = { | |||
73 | .input_mapping = speedlink_input_mapping, | 73 | .input_mapping = speedlink_input_mapping, |
74 | .event = speedlink_event, | 74 | .event = speedlink_event, |
75 | }; | 75 | }; |
76 | module_hid_driver(speedlink_driver); | ||
76 | 77 | ||
77 | static int __init speedlink_init(void) | ||
78 | { | ||
79 | return hid_register_driver(&speedlink_driver); | ||
80 | } | ||
81 | |||
82 | static void __exit speedlink_exit(void) | ||
83 | { | ||
84 | hid_unregister_driver(&speedlink_driver); | ||
85 | } | ||
86 | |||
87 | module_init(speedlink_init); | ||
88 | module_exit(speedlink_exit); | ||
89 | MODULE_LICENSE("GPL"); | 78 | MODULE_LICENSE("GPL"); |