diff options
author | Joe Perches <joe@perches.com> | 2015-05-19 21:37:49 -0400 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2015-06-03 02:49:38 -0400 |
commit | f6d4750298568778bd4ff86ae83983ac41290188 (patch) | |
tree | 636bcee61550826199b5ce6ae9ca9f208fff263b /arch/arm/mach-imx | |
parent | 8f6d8094b215b5705948262c7076fbe02ae859dc (diff) |
ARM: mach-imx: iomux-imx31: Use DECLARE_BITMAP
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>
Diffstat (limited to 'arch/arm/mach-imx')
-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 d6a30753ca7c..6dd22cabf4d3 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 | static unsigned long mxc_pin_alloc_map[NB_PORTS * 32 / BITS_PER_LONG]; | 43 | static DECLARE_BITMAP(mxc_pin_alloc_map, NB_PORTS * 32); |
44 | /* | 44 | /* |
45 | * set the mode for a IOMUX pin. | 45 | * set the mode for a IOMUX pin. |
46 | */ | 46 | */ |