summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-28 21:55:22 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 09:33:08 +0200
commit214b43100fd59e55fcd265329aafd14ab01ec30d (patch)
tree41fd0ac5ad65b050b2ecaa33d410d9c740302ed5
parent6c80ee51707ec9fcf137bc7b511d2853b772eae6 (diff)
downloadblackbird-op-linux-214b43100fd59e55fcd265329aafd14ab01ec30d.tar.gz
blackbird-op-linux-214b43100fd59e55fcd265329aafd14ab01ec30d.zip
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 <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/mach-imx/pcm970-baseboard.c2
1 files changed, 1 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud