diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-03-25 08:20:30 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2013-04-01 04:17:48 -0400 |
commit | 4355632c54d4fd06b9fbc5d7a83dbf6437946d03 (patch) | |
tree | 48ca45eab7388edb1e6e2b9cbae2178923fd8993 | |
parent | eb7099be53655063162d3b67db7fbaf15dfac893 (diff) |
ARM: mach-imx: iomux-imx31: Staticize mxc_pin_alloc_map
Fix the following sparse warning:
arch/arm/mach-imx/iomux-imx31.c:43:15: warning: symbol 'mxc_pin_alloc_map' was not declared. Should it be static?
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
-rw-r--r-- | arch/arm/mach-imx/iomux-imx31.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/iomux-imx31.c b/arch/arm/mach-imx/iomux-imx31.c index cabefbc5e7c1..7c66805d2cc0 100644 --- a/arch/arm/mach-imx/iomux-imx31.c +++ b/arch/arm/mach-imx/iomux-imx31.c | |||
@@ -40,7 +40,7 @@ static DEFINE_SPINLOCK(gpio_mux_lock); | |||
40 | 40 | ||
41 | #define IOMUX_REG_MASK (IOMUX_PADNUM_MASK & ~0x3) | 41 | #define IOMUX_REG_MASK (IOMUX_PADNUM_MASK & ~0x3) |
42 | 42 | ||
43 | unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG]; | 43 | static unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG]; |
44 | /* | 44 | /* |
45 | * set the mode for a IOMUX pin. | 45 | * set the mode for a IOMUX pin. |
46 | */ | 46 | */ |