diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-03-18 08:05:22 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 14:05:14 +0100 |
commit | e493e06fedd86b484d172f961234f105f295d4d4 (patch) | |
tree | 563bfe6ed3cdba6c38408fdb97474305e8695aa1 /arch/arm/mach-ux500 | |
parent | mach-ux500: config Ux500 PL011 PL022 PL180 for DMA (diff) | |
download | linux-e493e06fedd86b484d172f961234f105f295d4d4.tar.xz linux-e493e06fedd86b484d172f961234f105f295d4d4.zip |
plat-nomadik: support varying number of GPIOs per block
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
[Added constant 32-pin assignment in platform data]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/devices-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/devices-common.c b/arch/arm/mach-ux500/devices-common.c index fe69f5fac1bb..13a4ce046ae5 100644 --- a/arch/arm/mach-ux500/devices-common.c +++ b/arch/arm/mach-ux500/devices-common.c @@ -139,6 +139,7 @@ void dbx500_add_gpios(resource_size_t *base, int num, int irq, for (i = 0; i < num; i++, first += 32, irq++) { pdata->first_gpio = first; pdata->first_irq = NOMADIK_GPIO_TO_IRQ(first); + pdata->num_gpio = 32; dbx500_add_gpio(i, base[i], irq, pdata); } |