diff options
author | Peter Huewe <peterhuewe@gmx.de> | 2009-12-22 03:38:02 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-05 06:22:32 -0500 |
commit | 73a98fce881c46eaeb33c1aef23ab607f4d03344 (patch) | |
tree | 2c84433934adb9a852f320d5e3633383fc81210a /drivers | |
parent | 8885074038b219b90cb0f5cd1a049ba80c7e815b (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')
-rw-r--r-- | drivers/w1/w1.c | 4 |
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) | |||
986 | return 0; | 986 | return 0; |
987 | } | 987 | } |
988 | 988 | ||
989 | static int w1_init(void) | 989 | static int __init w1_init(void) |
990 | { | 990 | { |
991 | int retval; | 991 | int retval; |
992 | 992 | ||
@@ -1034,7 +1034,7 @@ err_out_exit_init: | |||
1034 | return retval; | 1034 | return retval; |
1035 | } | 1035 | } |
1036 | 1036 | ||
1037 | static void w1_fini(void) | 1037 | static void __exit w1_fini(void) |
1038 | { | 1038 | { |
1039 | struct w1_master *dev; | 1039 | struct w1_master *dev; |
1040 | 1040 | ||