summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-roccat-kone.c
diff options
context:
space:
mode:
authorStefan Achatz <erazor_de@users.sourceforge.net>2010-05-08 17:20:38 +0200
committerJiri Kosina <jkosina@suse.cz>2010-05-18 14:03:39 +0200
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 7b117849662..a41df9ab287 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 = {
.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);
}