MIPS: AR7, BCM63xx: fix gpio_to_irq() return value
authorYoichi Yuasa <yuasa@linux-mips.org>
Mon, 24 May 2010 08:36:24 +0000 (17:36 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 5 Jul 2010 16:17:26 +0000 (17:17 +0100)
commitcdf22a4e90ea3ea8e6a7dd9d2fa810b4a3cdfaed
treeece77d50f0bcfb06dfd52c313a61918309c086f4
parente48682ddaa8c553fe36a01be9fa07e2556a640df
MIPS: AR7, BCM63xx: fix gpio_to_irq() return value

The return value of gpio_to_irq() is not a pointer but an integer.

Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>
Cc: linux-mips <linux-mips@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/1280/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mach-ar7/gpio.h
arch/mips/include/asm/mach-bcm63xx/gpio.h