projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f6d809
)
ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
author
Joe Perches
<joe@perches.com>
Wed, 20 May 2015 01:37:49 +0000
(18:37 -0700)
committer
Shawn Guo
<shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:49:38 +0000
(14:49 +0800)
Use the generic mechanism to declare a bitmap instead of unsigned long.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
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 d6a30753ca7cb27c9d5c5704e417102d065a2d60..6dd22cabf4d345e8d6bcfb6f77dc333cd53ea45e 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)
-static
unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG]
;
+static
DECLARE_BITMAP(mxc_pin_alloc_map, NB_PORTS * 32)
;
/*
* set the mode for a IOMUX pin.
*/