HID: adding __init/__exit macros to module init/exit functions
[linux-2.6-block.git] / drivers / hid / hid-ntrig.c
index d7b3e61fbf8f8d43ca51e65a80371496a05f70d0..49ce69d7bba754ee37e62ec386ab48385879b52a 100644 (file)
@@ -290,12 +290,12 @@ static struct hid_driver ntrig_driver = {
        .event = ntrig_event,
 };
 
-static int ntrig_init(void)
+static int __init ntrig_init(void)
 {
        return hid_register_driver(&ntrig_driver);
 }
 
-static void ntrig_exit(void)
+static void __exit ntrig_exit(void)
 {
        hid_unregister_driver(&ntrig_driver);
 }