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-zpff.c
diff --git
a/drivers/hid/hid-zpff.c
b/drivers/hid/hid-zpff.c
index 57f710757bf425ac6b32fb49314121357e327b41..a79f0d78c6be23944e70b3d0f35f23f069ea1980 100644
(file)
--- a/
drivers/hid/hid-zpff.c
+++ b/
drivers/hid/hid-zpff.c
@@
-152,12
+152,12
@@
static struct hid_driver zp_driver = {
.probe = zp_probe,
};
-static int zp_init(void)
+static int
__init
zp_init(void)
{
return hid_register_driver(&zp_driver);
}
-static void zp_exit(void)
+static void
__exit
zp_exit(void)
{
hid_unregister_driver(&zp_driver);
}