From: Aaro Koskinen <aaro.koskinen@iki.fi> To: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] arm: mach-omap1: board-innovator: make innovator_mmc_init() static Date: Tue, 18 Jan 2011 09:52:41 +0200 [thread overview] Message-ID: <1295337165-22934-4-git-send-email-aaro.koskinen@iki.fi> (raw) In-Reply-To: <1295337165-22934-1-git-send-email-aaro.koskinen@iki.fi> Eliminates the following sparse warning: arch/arm/mach-omap1/board-innovator.c:368:13: warning: symbol 'innovator_mmc_init' was not declared. Should it be static? Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> --- arch/arm/mach-omap1/board-innovator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index a36e674..2d9b8cb 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c @@ -365,7 +365,7 @@ static struct omap_mmc_platform_data mmc1_data = { static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; -void __init innovator_mmc_init(void) +static void __init innovator_mmc_init(void) { mmc_data[0] = &mmc1_data; omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); -- 1.5.6.5
WARNING: multiple messages have this Message-ID (diff)
From: aaro.koskinen@iki.fi (Aaro Koskinen) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 3/7] arm: mach-omap1: board-innovator: make innovator_mmc_init() static Date: Tue, 18 Jan 2011 09:52:41 +0200 [thread overview] Message-ID: <1295337165-22934-4-git-send-email-aaro.koskinen@iki.fi> (raw) In-Reply-To: <1295337165-22934-1-git-send-email-aaro.koskinen@iki.fi> Eliminates the following sparse warning: arch/arm/mach-omap1/board-innovator.c:368:13: warning: symbol 'innovator_mmc_init' was not declared. Should it be static? Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> --- arch/arm/mach-omap1/board-innovator.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap1/board-innovator.c b/arch/arm/mach-omap1/board-innovator.c index a36e674..2d9b8cb 100644 --- a/arch/arm/mach-omap1/board-innovator.c +++ b/arch/arm/mach-omap1/board-innovator.c @@ -365,7 +365,7 @@ static struct omap_mmc_platform_data mmc1_data = { static struct omap_mmc_platform_data *mmc_data[OMAP16XX_NR_MMC]; -void __init innovator_mmc_init(void) +static void __init innovator_mmc_init(void) { mmc_data[0] = &mmc1_data; omap1_init_mmc(mmc_data, OMAP15XX_NR_MMC); -- 1.5.6.5
next prev parent reply other threads:[~2011-01-18 7:52 UTC|newest] Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-01-18 7:52 [PATCH 0/7] omap1 sparse warning fixes Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 7:52 ` [PATCH 1/7] arm: plat-omap: dma: make omap_dma_in_1510_mode() static Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 7:52 ` [PATCH 2/7] arm: mach-omap1: board-h2: make h2_nand_platdata static Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen [this message] 2011-01-18 7:52 ` [PATCH 3/7] arm: mach-omap1: board-innovator: make innovator_mmc_init() static Aaro Koskinen 2011-01-18 7:52 ` [PATCH 4/7] arm: mach-omap1: board-htcherald: make htcpld_chips and htcpld_pfdata static Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 7:52 ` [PATCH 5/7] arm: mach-omap1: board-h3: make nand_platdata static Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 7:52 ` [PATCH 6/7] arm: plat-omap: system.h: move voiceblue definitions into the board header Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 9:22 ` Russell King - ARM Linux 2011-01-18 9:22 ` Russell King - ARM Linux 2011-01-20 1:26 ` Tony Lindgren 2011-01-20 1:26 ` Tony Lindgren 2011-01-18 7:52 ` [PATCH 7/7] arm: mach-omap1: board-voiceblue: add missing include Aaro Koskinen 2011-01-18 7:52 ` Aaro Koskinen 2011-01-18 8:11 ` Felipe Balbi 2011-01-18 8:11 ` Felipe Balbi 2011-01-18 8:21 ` Felipe Balbi 2011-01-18 8:21 ` Felipe Balbi
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1295337165-22934-4-git-send-email-aaro.koskinen@iki.fi \ --to=aaro.koskinen@iki.fi \ --cc=linux-arm-kernel@lists.infradead.org \ --cc=linux-omap@vger.kernel.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.