Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754069Ab0AEK3A (ORCPT ); Tue, 5 Jan 2010 05:29:00 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752382Ab0AEK27 (ORCPT ); Tue, 5 Jan 2010 05:28:59 -0500 Received: from cantor2.suse.de ([195.135.220.15]:41202 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751086Ab0AEK26 (ORCPT ); Tue, 5 Jan 2010 05:28:58 -0500 Date: Tue, 5 Jan 2010 11:28:57 +0100 (CET) From: Jiri Kosina To: Peter Huewe Cc: kernel-janitors@vger.kernel.org, Evgeniy Polyakov , Kay Sievers , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH 09/10] w1: add __init/__exit macros to drivers/w1/w1.c In-Reply-To: <1261471082-24233-1-git-send-email-peterhuewe@gmx.de> Message-ID: References: <1261471082-24233-1-git-send-email-peterhuewe@gmx.de> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1118 Lines: 47 On Tue, 22 Dec 2009, peterhuewe@gmx.de wrote: > From: Peter Huewe > > 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 > --- > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/