Skip to content

Commit

Permalink
HID: add __init/__exit macros to twinhan.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Jiri Kosina committed Sep 29, 2009
1 parent 7fa0772 commit fa59530
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/hid/hid-twinhan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fa59530

Please sign in to comment.