diff options
author | Sekhar Nori <nsekhar@ti.com> | 2015-07-11 14:59:15 (GMT) |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2015-07-16 05:42:12 (GMT) |
commit | f734a9b3b19e01d598d03a336de32a59a52c1575 (patch) | |
tree | 412014a0f00c2d52c5d4f44697433193213fc582 /arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | |
parent | aaf2c0fbbbb1ec56936e726eec6c253bc4bd469f (diff) | |
download | linux-f734a9b3b19e01d598d03a336de32a59a52c1575.tar.xz |
ARM: OMAP2+: sparse: add missing static declaration
Add missing static declaration for file local variables.
This fixes sparse warnings of type:
arch/arm/mach-omap2/omap_hwmod_81xx_data.c:491:26: warning: symbol 'dm81xx_alwon_l3_slow__gpmc' was not declared. Should it be static?
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c index 6dcfd03..36bcd2e 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c @@ -20,7 +20,7 @@ #include "prm-regbits-24xx.h" #include "wd_timer.h" -struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = { +static struct omap_hwmod_dma_info omap2xxx_dss_sdma_chs[] = { { .name = "dispc", .dma_req = 5 }, { .dma_req = -1, }, }; |