aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-ps3remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hid/hid-ps3remote.c')
-rw-r--r--drivers/hid/hid-ps3remote.c13
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};
201module_hid_driver(ps3remote_driver);
201 202
202static int __init ps3remote_init(void)
203{
204 return hid_register_driver(&ps3remote_driver);
205}
206
207static void __exit ps3remote_exit(void)
208{
209 hid_unregister_driver(&ps3remote_driver);
210}
211
212module_init(ps3remote_init);
213module_exit(ps3remote_exit);
214MODULE_LICENSE("GPL"); 203MODULE_LICENSE("GPL");
215MODULE_AUTHOR("David Dillow <dave@thedillows.org>, Antonio Ospite <ospite@studenti.unina.it>"); 204MODULE_AUTHOR("David Dillow <dave@thedillows.org>, Antonio Ospite <ospite@studenti.unina.it>");