Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa595302 authored by Peter Huewe's avatar Peter Huewe Committed by Jiri Kosina
Browse files

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 7fa07729
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}