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:
Peter Huewe 2009-12-22 09:38:02 +01:00 committed by Jiri Kosina
parent 8885074038
commit 73a98fce88

View file

@ -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;