]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4851/1: ns9xxx: fix size of gpiores
authorUwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Thu, 6 Mar 2008 15:21:42 +0000 (16:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 8 Mar 2008 15:53:45 +0000 (15:53 +0000)
commitac5bbf21bf38b3f5eaa8cb1e17f7513dc354afda
tree9357a5c54671895445f1d1ded7b3113c41e8a630
parent5853e7427858a9ae493ea4999ef1069d2e2550d9
[ARM] 4851/1: ns9xxx: fix size of gpiores

GPIO_MAX is the number of the last gpio, not the number of gpios.  So
the bitmap must provide GPIO_MAX + 1 bits.

Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-ns9xxx/gpio.c