From: Stefan Achatz Date: Sat, 8 May 2010 15:20:38 +0000 (+0200) Subject: HID: roccat: Correctly mark init and exit functions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=00237bc5204c43f67b2e68546012d7bd27efc1b6;p=linux.git HID: roccat: Correctly mark init and exit functions Added the __init and __exit hints for module functions. Signed-off-by: Stefan Achatz Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-roccat-kone.c b/drivers/hid/hid-roccat-kone.c index 7b11784966210..a41df9ab28772 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); }