提交 00237bc5 编写于 作者: S Stefan Achatz 提交者: Jiri Kosina

HID: roccat: Correctly mark init and exit functions

Added the __init and __exit hints for module functions.
Signed-off-by: NStefan Achatz <erazor_de@users.sourceforge.net>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 ed28f04b
...@@ -989,12 +989,12 @@ static struct hid_driver kone_driver = { ...@@ -989,12 +989,12 @@ static struct hid_driver kone_driver = {
.raw_event = kone_raw_event .raw_event = kone_raw_event
}; };
static int kone_init(void) static int __init kone_init(void)
{ {
return hid_register_driver(&kone_driver); return hid_register_driver(&kone_driver);
} }
static void kone_exit(void) static void __exit kone_exit(void)
{ {
hid_unregister_driver(&kone_driver); hid_unregister_driver(&kone_driver);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册