diff options
Diffstat (limited to 'drivers/hid/hid-primax.c')
-rw-r--r-- | drivers/hid/hid-primax.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/hid/hid-primax.c b/drivers/hid/hid-primax.c index c15adb0c98a1..3a1c3c4c50dc 100644 --- a/drivers/hid/hid-primax.c +++ b/drivers/hid/hid-primax.c | |||
@@ -75,18 +75,7 @@ static struct hid_driver px_driver = { | |||
75 | .id_table = px_devices, | 75 | .id_table = px_devices, |
76 | .raw_event = px_raw_event, | 76 | .raw_event = px_raw_event, |
77 | }; | 77 | }; |
78 | module_hid_driver(px_driver); | ||
78 | 79 | ||
79 | static int __init px_init(void) | ||
80 | { | ||
81 | return hid_register_driver(&px_driver); | ||
82 | } | ||
83 | |||
84 | static void __exit px_exit(void) | ||
85 | { | ||
86 | hid_unregister_driver(&px_driver); | ||
87 | } | ||
88 | |||
89 | module_init(px_init); | ||
90 | module_exit(px_exit); | ||
91 | MODULE_AUTHOR("Terry Lambert <tlambert@google.com>"); | 80 | MODULE_AUTHOR("Terry Lambert <tlambert@google.com>"); |
92 | MODULE_LICENSE("GPL"); | 81 | MODULE_LICENSE("GPL"); |