From: Peter Huewe Date: Tue, 22 Dec 2009 08:38:02 +0000 (+0100) Subject: w1: add __init/__exit macros to w1.c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=73a98fce881c46eaeb33c1aef23ab607f4d03344;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Jiri Kosina --- diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index acc7e3b7fe17..ad5897dc4495 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c @@ -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;