summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-twinhan.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-10-13 10:10:33 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-13 10:10:33 -0700
commit03266d28ca5bf1959ee91dc6554c01b790975352 (patch)
treef98e36f3d3108344a82e9ccdb30790121ed93b5e /drivers/hid/hid-twinhan.c
parentae445b9134126314844ad9e84010bae5e6684103 (diff)
parentb0e14951ee0f6c29abc64b92ec7075a159ede37c (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid: HID: fix possible deadlock in hidraw_read HID: fix kerneldoc comment for hid_input_report() HID: add __init/__exit macros to twinhan.c
Diffstat (limited to 'drivers/hid/hid-twinhan.c')
-rw-r--r--drivers/hid/hid-twinhan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hid/hid-twinhan.c b/drivers/hid/hid-twinhan.c
index b05f602c051..c40afc57fc8 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);
}