diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/kernel/bfin_gpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/bfin_gpio.c b/arch/blackfin/kernel/bfin_gpio.c index c5650559a4e1..dc07ed08b37f 100644 --- a/arch/blackfin/kernel/bfin_gpio.c +++ b/arch/blackfin/kernel/bfin_gpio.c | |||
@@ -157,7 +157,7 @@ static int cmp_label(unsigned short ident, const char *label) | |||
157 | #define DECLARE_RESERVED_MAP(m, c) static unsigned short reserved_##m##_map[c] | 157 | #define DECLARE_RESERVED_MAP(m, c) static unsigned short reserved_##m##_map[c] |
158 | 158 | ||
159 | DECLARE_RESERVED_MAP(gpio, GPIO_BANK_NUM); | 159 | DECLARE_RESERVED_MAP(gpio, GPIO_BANK_NUM); |
160 | DECLARE_RESERVED_MAP(peri, gpio_bank(MAX_RESOURCES)); | 160 | DECLARE_RESERVED_MAP(peri, DIV_ROUND_UP(MAX_RESOURCES, GPIO_BANKSIZE)); |
161 | DECLARE_RESERVED_MAP(gpio_irq, GPIO_BANK_NUM); | 161 | DECLARE_RESERVED_MAP(gpio_irq, GPIO_BANK_NUM); |
162 | 162 | ||
163 | inline int check_gpio(unsigned gpio) | 163 | inline int check_gpio(unsigned gpio) |