HID: add __init/__exit macros to twinhan.c
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 29 Sep 2009 01:24:55 +0000 (03:24 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 29 Sep 2009 11:58:20 +0000 (13:58 +0200)
Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of the twinhan driver in hid.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-twinhan.c

index b05f602..c40afc5 100644 (file)
@@ -132,12 +132,12 @@ static struct hid_driver twinhan_driver = {
        .input_mapping = twinhan_input_mapping,
 };
 
-static int twinhan_init(void)
+static int __init twinhan_init(void)
 {
        return hid_register_driver(&twinhan_driver);
 }
 
-static void twinhan_exit(void)
+static void __exit twinhan_exit(void)
 {
        hid_unregister_driver(&twinhan_driver);
 }