Skip to content
Snippets Groups Projects
Commit 73a98fce authored by Peter Huewe's avatar Peter Huewe Committed by Jiri Kosina
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -986,7 +986,7 @@ int w1_process(void *data)
return 0;
}
static int w1_init(void)
static int __init w1_init(void)
{
int retval;
......@@ -1034,7 +1034,7 @@ err_out_exit_init:
return retval;
}
static void w1_fini(void)
static void __exit w1_fini(void)
{
struct w1_master *dev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment