aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-kone.c
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2010-05-08 11:20:38 -0400
committerJiri Kosina <jkosina@suse.cz>2010-05-18 08:03:39 -0400
commit00237bc5204c43f67b2e68546012d7bd27efc1b6 (patch)
tree70a6b901ff6c0e9def24e54199cc429ceec7a1f8 /drivers/hid/hid-roccat-kone.c
parented28f04b2753ce1b07b9c3dab7d186c43ce19e8c (diff)
HID: roccat: Correctly mark init and exit functions
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>
Diffstat (limited to 'drivers/hid/hid-roccat-kone.c')
-rw-r--r--drivers/hid/hid-roccat-kone.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-roccat-kone.c b/drivers/hid/hid-roccat-kone.c
index 7b1178496621..a41df9ab2877 100644
--- a/drivers/hid/hid-roccat-kone.c
+++ b/drivers/hid/hid-roccat-kone.c
@@ -989,12 +989,12 @@ static struct hid_driver kone_driver = {
989 .raw_event = kone_raw_event 989 .raw_event = kone_raw_event
990}; 990};
991 991
992static int kone_init(void) 992static int __init kone_init(void)
993{ 993{
994 return hid_register_driver(&kone_driver); 994 return hid_register_driver(&kone_driver);
995} 995}
996 996
997static void kone_exit(void) 997static void __exit kone_exit(void)
998{ 998{
999 hid_unregister_driver(&kone_driver); 999 hid_unregister_driver(&kone_driver);
1000} 1000}