From: Peter Huewe Date: Tue, 29 Sep 2009 01:24:55 +0000 (+0200) Subject: HID: add __init/__exit macros to twinhan.c X-Git-Tag: v2.6.32-rc5~30^2~2 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=fa59530267e1006b7180e9ce1dee4136907b2b65;p=linux-2.6-block.git 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 Signed-off-by: Jiri Kosina --- 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 = { .input_mapping = twinhan_input_mapping, }; -static int twinhan_init(void) +static int __init twinhan_init(void) { return hid_register_driver(&twinhan_driver); } -static void twinhan_exit(void) +static void __exit twinhan_exit(void) { hid_unregister_driver(&twinhan_driver); }