gpiolib: Hook up WM8994 gpio_to_irq()
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 17 Aug 2010 12:13:37 +0000 (13:13 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:28:39 +0000 (00:28 +0200)
Not sure where this went.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/gpio/wm8994-gpio.c

index 2ac9a16..618398e 100644 (file)
@@ -140,6 +140,7 @@ static struct gpio_chip template_chip = {
        .get                    = wm8994_gpio_get,
        .direction_output       = wm8994_gpio_direction_out,
        .set                    = wm8994_gpio_set,
+       .to_irq                 = wm8994_gpio_to_irq,
        .dbg_show               = wm8994_gpio_dbg_show,
        .can_sleep              = 1,
 };