summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/pcm970-baseboard.c
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 /arch/arm/mach-imx/pcm970-baseboard.c
parentARM: imx: make all pin lists const and signed, move to .init where possible (diff)
downloadlinux-214b43100fd59e55fcd265329aafd14ab01ec30d.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-imx/pcm970-baseboard.c')
-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,