lkml.org 
[lkml]   [2010]   [Jan]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 09/10] w1: add __init/__exit macros to drivers/w1/w1.c
On Tue, 22 Dec 2009, peterhuewe@gmx.de wrote:

> From: Peter Huewe <peterhuewe@gmx.de>
>
> 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>
> ---
> 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 acc7e3b..ad5897d 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;
>

Applied, thanks.

--
Jiri Kosina
SUSE Labs, Novell Inc.


\
 
 \ /
  Last update: 2010-01-05 11:31    [W:2.728 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site