mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
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>
This commit is contained in:
parent
ed28f04b27
commit
00237bc520
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user