projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed28f04
)
HID: roccat: Correctly mark init and exit functions
author
Stefan Achatz
<erazor_de@users.sourceforge.net>
Sat, 8 May 2010 15:20:38 +0000
(17:20 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Tue, 18 May 2010 12:03:39 +0000
(14:03 +0200)
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>
drivers/hid/hid-roccat-kone.c
patch
|
blob
|
history
diff --git
a/drivers/hid/hid-roccat-kone.c
b/drivers/hid/hid-roccat-kone.c
index 7b11784966210309dfb780f64c496f046c4cba5f..a41df9ab28772c5f06536ab23dccd840f037cc23 100644
(file)
--- 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);
}