Commit 00237bc5 authored by Stefan Achatz's avatar Stefan Achatz Committed by Jiri Kosina

HID: roccat: Correctly mark init and exit functions

Added the __init and __exit hints for module functions.
Signed-off-by: default avatarStefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent ed28f04b
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment