]> git.karo-electronics.de Git - linux-beck.git/commitdiff
HID: roccat: Correctly mark init and exit functions
authorStefan Achatz <erazor_de@users.sourceforge.net>
Sat, 8 May 2010 15:20:38 +0000 (17:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 18 May 2010 12:03:39 +0000 (14:03 +0200)
Added the __init and __exit hints for module functions.

Signed-off-by: Stefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-roccat-kone.c

index 7b11784966210309dfb780f64c496f046c4cba5f..a41df9ab28772c5f06536ab23dccd840f037cc23 100644 (file)
@@ -989,12 +989,12 @@ static struct hid_driver kone_driver = {
                .raw_event = kone_raw_event
 };
 
-static int kone_init(void)
+static int __init kone_init(void)
 {
        return hid_register_driver(&kone_driver);
 }
 
-static void kone_exit(void)
+static void __exit kone_exit(void)
 {
        hid_unregister_driver(&kone_driver);
 }