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: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
@@ -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 @@ err_out_exit_init:
|
|||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void w1_fini(void)
|
static void __exit w1_fini(void)
|
||||||
{
|
{
|
||||||
struct w1_master *dev;
|
struct w1_master *dev;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user