Skip to contentSkip to conversation

ARM: imx: pcm037: make pcm970_sja1000_platform_data static

PATCH New Ma Feng 1 participant 1 message May 11, 2020

Subsystems (3)
lore
Share & tools
lore

Ma Feng

author
#0 lore raw

PATCH 1/1 ARM: imx: pcm037: make pcm970_sja1000_platform_data static

Fix sparse warning:

arch/arm/mach-imx/mach-pcm037.c:407:30: warning: symbol 'pcm970_sja1000_platform_data' was not declared. Should it be static?

---
 arch/arm/mach-imx/mach-pcm037.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/mach-pcm037.c +1 -1
index bd9443f..c7d23e9 100644
@@ -404,7 +404,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,

--
2.6.2