diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-03-18 10:05:22 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 16:05:14 +0300 |
commit | e493e06fedd86b484d172f961234f105f295d4d4 (patch) | |
tree | 563bfe6ed3cdba6c38408fdb97474305e8695aa1 /arch/arm/mach-ux500 | |
parent | 5d7b8467e18b14ed44c5781d77993bfdcd8c826b (diff) | |
download | linux-e493e06fedd86b484d172f961234f105f295d4d4.tar.xz |
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); } |