aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-twinhan.c
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2009-09-28 21:24:55 -0400
committerJiri Kosina <jkosina@suse.cz>2009-09-29 07:58:20 -0400
commitfa59530267e1006b7180e9ce1dee4136907b2b65 (patch)
tree646a6c22631d4489b1c6da3195062b69baf1dc32 /drivers/hid/hid-twinhan.c
parent7fa07729e439a6184bd824746d06a49cca553f15 (diff)
HID: add __init/__exit macros to twinhan.c
Trivial patch which adds the __init/__exit macros to the module_init/ module_exit functions of the twinhan driver in hid. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-twinhan.c')
-rw-r--r--drivers/hid/hid-twinhan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-twinhan.c b/drivers/hid/hid-twinhan.c
index b05f602c051e..c40afc57fc8f 100644
--- a/drivers/hid/hid-twinhan.c
+++ b/drivers/hid/hid-twinhan.c
@@ -132,12 +132,12 @@ static struct hid_driver twinhan_driver = {
132 .input_mapping = twinhan_input_mapping, 132 .input_mapping = twinhan_input_mapping,
133}; 133};
134 134
135static int twinhan_init(void) 135static int __init twinhan_init(void)
136{ 136{
137 return hid_register_driver(&twinhan_driver); 137 return hid_register_driver(&twinhan_driver);
138} 138}
139 139
140static void twinhan_exit(void) 140static void __exit twinhan_exit(void)
141{ 141{
142 hid_unregister_driver(&twinhan_driver); 142 hid_unregister_driver(&twinhan_driver);
143} 143}