From: Uwe Kleine-König Date: Tue, 28 Sep 2010 19:55:22 +0000 (+0200) Subject: ARM: imx/pcm970: make platform_data static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=214b43100fd59e55fcd265329aafd14ab01ec30d;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git ARM: imx/pcm970: make platform_data static This fixes the following sparse warning: arch/arm/mach-imx/pcm970-baseboard.c:224:13: warning: symbol 'pcm970_baseboard_init' was not declared. Should it be static? Signed-off-by: Uwe Kleine-König Signed-off-by: Sascha Hauer --- diff --git a/arch/arm/mach-imx/pcm970-baseboard.c b/arch/arm/mach-imx/pcm970-baseboard.c index 7cffad880e42..9110d9cca7a2 100644 --- a/arch/arm/mach-imx/pcm970-baseboard.c +++ b/arch/arm/mach-imx/pcm970-baseboard.c @@ -200,7 +200,7 @@ static struct resource pcm970_sja1000_resources[] = { }, }; -struct sja1000_platform_data pcm970_sja1000_platform_data = { +static struct sja1000_platform_data pcm970_sja1000_platform_data = { .osc_freq = 16000000, .ocr = OCR_TX1_PULLDOWN | OCR_TX0_PUSHPULL, .cdr = CDR_CBP,