Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73a98fce authored by Peter Huewe's avatar Peter Huewe Committed by Jiri Kosina
Browse files

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: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 88850740
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 @@ static int w1_init(void)
	return retval;
}

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