bcma: add gpio_to_irq
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 26 Jan 2013 20:39:44 +0000 (21:39 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jan 2013 20:07:06 +0000 (15:07 -0500)
commit8f1ca2683225afa21b827ff620a6225c390771a9
treee3ce18950e47ce417323527f1bfba59b64ed80f5
parenta6ca2e10f795111a90a4efabb07717258669e03d
bcma: add gpio_to_irq

The old bcm47xx gpio code had support for gpio_to_irq, but the new
code did not provide this function, but returned -ENXIO all the time.
This patch adds the missing function.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/driver_gpio.c
include/linux/bcma/bcma_driver_mips.h