summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2009-12-22 09:38:02 +0100
committerJiri Kosina <jkosina@suse.cz>2010-02-05 12:22:32 +0100
commit73a98fce881c46eaeb33c1aef23ab607f4d03344 (patch)
tree2c84433934adb9a852f320d5e3633383fc81210a /drivers/w1
parent8885074038b219b90cb0f5cd1a049ba80c7e815b (diff)
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>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1.c4
1 files changed, 2 insertions, 2 deletions
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;