ARM: imx/pcm970: make platform_data static
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 28 Sep 2010 19:55:22 +0000 (21:55 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 1 Oct 2010 07:33:08 +0000 (09:33 +0200)
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-imx/pcm970-baseboard.c

index 7cffad880e42388bab6c5a640cefa220ce803443..9110d9cca7a2dc4b66adc85950541b5a9a7bc81b 100644 (file)
@@ -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,