MIPS: RB532: provide GPIO_BUILTIN_NR and irq_to_gpio/gpio_to_irq
authorFlorian Fainelli <florian@openwrt.org>
Thu, 11 Sep 2008 15:48:00 +0000 (17:48 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sat, 11 Oct 2008 15:18:57 +0000 (16:18 +0100)
This patchs defines the number of built-in the GPIOs present
on the SoC as Documentation/gpio.txt recommends to do.
Define irq_to_gpio/gpio_to_irq to return the right values so that
it fixes a compilation error on drivers/gpio/gpiolib.c
when enabling debugfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found