projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb7099b
)
ARM: mach-imx: iomux-imx31: Staticize mxc_pin_alloc_map
author
Fabio Estevam
<fabio.estevam@freescale.com>
Mon, 25 Mar 2013 12:20:30 +0000
(09:20 -0300)
committer
Shawn Guo
<shawn.guo@linaro.org>
Mon, 1 Apr 2013 08:17:48 +0000
(16:17 +0800)
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>
arch/arm/mach-imx/iomux-imx31.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-imx/iomux-imx31.c
b/arch/arm/mach-imx/iomux-imx31.c
index cabefbc5e7c16cbcaa7493e2e56373071335de30..7c66805d2cc0d4a54063f08630232d872824b647 100644
(file)
--- 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);
#define IOMUX_REG_MASK (IOMUX_PADNUM_MASK & ~0x3)
-unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG];
+
static
unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG];
/*
* set the mode for a IOMUX pin.
*/