Skip to content

Commit

Permalink
w1: add __init/__exit macros to w1.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Peter Huewe authored and Jiri Kosina committed Feb 5, 2010
1 parent 8885074 commit 73a98fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/w1/w1.c
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ int w1_process(void *data)
return 0;
}

static int w1_init(void)
static int __init w1_init(void)
{
int retval;

Expand Down Expand Up @@ -1034,7 +1034,7 @@ static int w1_init(void)
return retval;
}

static void w1_fini(void)
static void __exit w1_fini(void)
{
struct w1_master *dev;

Expand Down

0 comments on commit 73a98fc

Please sign in to comment.