projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
HID: adding __init/__exit macros to module init/exit functions
[linux-2.6-block.git]
/
drivers
/
hid
/
hid-a4tech.c
diff --git
a/drivers/hid/hid-a4tech.c
b/drivers/hid/hid-a4tech.c
index 42ea359e94cffcb4b2fe626664fc9e671e870848..df474c699fb8007603c884a2e06f4b4540a20ed6 100644
(file)
--- a/
drivers/hid/hid-a4tech.c
+++ b/
drivers/hid/hid-a4tech.c
@@
-145,12
+145,12
@@
static struct hid_driver a4_driver = {
.remove = a4_remove,
};
-static int a4_init(void)
+static int
__init
a4_init(void)
{
return hid_register_driver(&a4_driver);
}
-static void a4_exit(void)
+static void
__exit
a4_exit(void)
{
hid_unregister_driver(&a4_driver);
}