mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
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>
This commit is contained in:
parent
7fa07729e4
commit
fa59530267
1 changed files with 2 additions and 2 deletions
|
@ -132,12 +132,12 @@ static struct hid_driver twinhan_driver = {
|
||||||
.input_mapping = twinhan_input_mapping,
|
.input_mapping = twinhan_input_mapping,
|
||||||
};
|
};
|
||||||
|
|
||||||
static int twinhan_init(void)
|
static int __init twinhan_init(void)
|
||||||
{
|
{
|
||||||
return hid_register_driver(&twinhan_driver);
|
return hid_register_driver(&twinhan_driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void twinhan_exit(void)
|
static void __exit twinhan_exit(void)
|
||||||
{
|
{
|
||||||
hid_unregister_driver(&twinhan_driver);
|
hid_unregister_driver(&twinhan_driver);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue