提交 73a98fce 编写于 作者: P Peter Huewe 提交者: 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: NPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 88850740
......@@ -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 @@ static int w1_init(void)
return retval;
}
static void w1_fini(void)
static void __exit w1_fini(void)
{
struct w1_master *dev;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册