Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757601AbXFMK0f (ORCPT ); Wed, 13 Jun 2007 06:26:35 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756078AbXFMK00 (ORCPT ); Wed, 13 Jun 2007 06:26:26 -0400 Received: from TYO201.gate.nec.co.jp ([202.32.8.193]:55567 "EHLO tyo201.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755921AbXFMK0Z (ORCPT ); Wed, 13 Jun 2007 06:26:25 -0400 Message-ID: <466FC633.1040404@bx.jp.nec.com> Date: Wed, 13 Jun 2007 19:25:55 +0900 From: Keiichi KII User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Matt Mackall CC: Andrew Morton , David Miller , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: [RFC][PATCH -mm take5 1/7] marking __init References: <466FC455.5060001@bx.jp.nec.com> In-Reply-To: <466FC455.5060001@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 Content-Length: 1182 Lines: 42 From: Keiichi KII This patch contains the following cleanups. - add __init for initialization functions(option_setup() and init_netconsole()). Acked-by: Matt Mackall 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; -- - 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/