From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753850AbXCTMYj (ORCPT ); Tue, 20 Mar 2007 08:24:39 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753842AbXCTMYj (ORCPT ); Tue, 20 Mar 2007 08:24:39 -0400 Received: from TYO202.gate.nec.co.jp ([202.32.8.206]:36274 "EHLO tyo202.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753849AbXCTMYX (ORCPT ); Tue, 20 Mar 2007 08:24:23 -0400 X-Greylist: delayed 817 seconds by postgrey-1.27 at vger.kernel.org; Tue, 20 Mar 2007 08:24:23 EDT Message-ID: <45FFD272.6020105@bx.jp.nec.com> Date: Tue, 20 Mar 2007 21:24:18 +0900 From: Keiichi KII User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: mpm@selenic.com CC: linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC][PATCH -mm take3 1/6][resend] marking __init References: <45FFCF31.3040000@bx.jp.nec.com> In-Reply-To: <45FFCF31.3040000@bx.jp.nec.com> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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; --