summaryrefslogtreecommitdiff
path: root/arch/arm/mach-imx/iomux-imx31.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-imx/iomux-imx31.c')
-rw-r--r--arch/arm/mach-imx/iomux-imx31.c2
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 d6a30753c..6dd22cabf 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);
#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.
*/