Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Huewe and committed by
Jiri Kosina
fa595302 7fa07729

+2 -2
+2 -2
drivers/hid/hid-twinhan.c
··· 132 132 .input_mapping = twinhan_input_mapping, 133 133 }; 134 134 135 - static int twinhan_init(void) 135 + static int __init twinhan_init(void) 136 136 { 137 137 return hid_register_driver(&twinhan_driver); 138 138 } 139 139 140 - static void twinhan_exit(void) 140 + static void __exit twinhan_exit(void) 141 141 { 142 142 hid_unregister_driver(&twinhan_driver); 143 143 }