Skip to content

Commit

Permalink
HID: roccat: Correctly mark init and exit functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stefan Achatz authored and Jiri Kosina committed May 18, 2010
1 parent ed28f04 commit 00237bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hid/hid-roccat-kone.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 00237bc

Please sign in to comment.