From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Mackall Subject: Re: [RFC][PATCH -mm take3 1/6][resend] marking __init Date: Tue, 20 Mar 2007 10:36:27 -0500 Message-ID: <20070320153627.GF4892@waste.org> References: <45FFCF31.3040000@bx.jp.nec.com> <45FFD272.6020105@bx.jp.nec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org To: Keiichi KII Return-path: Received: from waste.org ([66.93.16.53]:56971 "EHLO waste.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753371AbXCTPtJ (ORCPT ); Tue, 20 Mar 2007 11:49:09 -0400 Content-Disposition: inline In-Reply-To: <45FFD272.6020105@bx.jp.nec.com> Sender: netdev-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, Mar 20, 2007 at 09:24:18PM +0900, Keiichi KII wrote: > From: Keiichi KII > > This patch contains the following cleanups. > - add __init for initialization functions(option_setup() and > init_netconsole()). > > Signed-off-by: Keiichi KII > Signed-off-by: Takayoshi Kochi > --- > Index: linux-mm/drivers/net/netconsole.c > =================================================================== > --- linux-mm.orig/drivers/net/netconsole.c > +++ linux-mm/drivers/net/netconsole.c > @@ -91,7 +91,7 @@ static struct console netconsole = { > .write = write_msg > }; > > -static int option_setup(char *opt) > +static int __init option_setup(char *opt) > { > configured = !netpoll_parse_options(&np, opt); > return 1; > @@ -99,7 +99,7 @@ static int option_setup(char *opt) > > __setup("netconsole=", option_setup); > > -static int init_netconsole(void) > +static int __init init_netconsole(void) > { > int err; This is fine. Acked-by: Matt Mackall -- Mathematics is the supreme nostalgia of our time.