Commit 73a98fce authored by Peter Huewe's avatar Peter Huewe Committed by Jiri Kosina

w1: add __init/__exit macros to w1.c

Trivial patch which adds the __init/__exit macros to the module_init/
module_exit functions of

drivers/w1/w1.c
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 88850740
...@@ -986,7 +986,7 @@ int w1_process(void *data) ...@@ -986,7 +986,7 @@ int w1_process(void *data)
return 0; return 0;
} }
static int w1_init(void) static int __init w1_init(void)
{ {
int retval; int retval;
...@@ -1034,7 +1034,7 @@ static int w1_init(void) ...@@ -1034,7 +1034,7 @@ static int w1_init(void)
return retval; return retval;
} }
static void w1_fini(void) static void __exit w1_fini(void)
{ {
struct w1_master *dev; struct w1_master *dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment