diff options
Diffstat (limited to 'drivers/hid/hid-ps3remote.c')
-rw-r--r-- | drivers/hid/hid-ps3remote.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-ps3remote.c b/drivers/hid/hid-ps3remote.c index 03811e539d71..f1239d3c5b14 100644 --- a/drivers/hid/hid-ps3remote.c +++ b/drivers/hid/hid-ps3remote.c | |||
@@ -198,18 +198,7 @@ static struct hid_driver ps3remote_driver = { | |||
198 | .report_fixup = ps3remote_fixup, | 198 | .report_fixup = ps3remote_fixup, |
199 | .input_mapping = ps3remote_mapping, | 199 | .input_mapping = ps3remote_mapping, |
200 | }; | 200 | }; |
201 | module_hid_driver(ps3remote_driver); | ||
201 | 202 | ||
202 | static int __init ps3remote_init(void) | ||
203 | { | ||
204 | return hid_register_driver(&ps3remote_driver); | ||
205 | } | ||
206 | |||
207 | static void __exit ps3remote_exit(void) | ||
208 | { | ||
209 | hid_unregister_driver(&ps3remote_driver); | ||
210 | } | ||
211 | |||
212 | module_init(ps3remote_init); | ||
213 | module_exit(ps3remote_exit); | ||
214 | MODULE_LICENSE("GPL"); | 203 | MODULE_LICENSE("GPL"); |
215 | MODULE_AUTHOR("David Dillow <dave@thedillows.org>, Antonio Ospite <ospite@studenti.unina.it>"); | 204 | MODULE_AUTHOR("David Dillow <dave@thedillows.org>, Antonio Ospite <ospite@studenti.unina.it>"); |