Skip to content

Commit

Permalink
ARM: imx: pcm037: make pcm970_sja1000_platform_data static
Browse files Browse the repository at this point in the history
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?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Ma Feng authored and Shawn Guo committed May 20, 2020
1 parent dceb213 commit 64d7bf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/mach-pcm037.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 64d7bf5

Please sign in to comment.