projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8885074
)
w1: add __init/__exit macros to w1.c
author
Peter Huewe
<peterhuewe@gmx.de>
Tue, 22 Dec 2009 08:38:02 +0000
(09:38 +0100)
committer
Jiri Kosina
<jkosina@suse.cz>
Fri, 5 Feb 2010 11:22:32 +0000
(12:22 +0100)
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>
drivers/w1/w1.c
patch
|
blob
|
history
diff --git
a/drivers/w1/w1.c
b/drivers/w1/w1.c
index acc7e3b7fe17bbbe37e024bde8db85ba738f4672..ad5897dc4495278954179e73096d1c5f910310a1 100644
(file)
--- 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;