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-pl.c
diff --git
a/drivers/hid/hid-pl.c
b/drivers/hid/hid-pl.c
index 4db9a3483760f6ade53829076198f105161e1cd4..c6d7dbc935b18b2f7445f948f2a6f5f0f0132fab 100644
(file)
--- a/
drivers/hid/hid-pl.c
+++ b/
drivers/hid/hid-pl.c
@@
-217,12
+217,12
@@
static struct hid_driver pl_driver = {
.probe = pl_probe,
};
-static int pl_init(void)
+static int
__init
pl_init(void)
{
return hid_register_driver(&pl_driver);
}
-static void pl_exit(void)
+static void
__exit
pl_exit(void)
{
hid_unregister_driver(&pl_driver);
}