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 2ac9a16d3daa9723dd9f2c34b6d774c62392dd58..618398e4ed8e2792a6336a53d4c4fe8822968c53 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,
 };