From: Mark Brown <broonie@opensource.wolfsonmicro.com>
Date: Tue, 17 Aug 2010 12:13:37 +0000 (+0100)
Subject: gpiolib: Hook up WM8994 gpio_to_irq()
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=deb26e92f9494c4da2f3c66a93f3744da96a9cee;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

gpiolib: Hook up WM8994 gpio_to_irq()

Not sure where this went.

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

diff --git a/drivers/gpio/wm8994-gpio.c b/drivers/gpio/wm8994-gpio.c
index 2ac9a16d3da..618398e4ed8 100644
--- a/drivers/gpio/wm8994-gpio.c
+++ b/drivers/gpio/wm8994-gpio.c
@@ -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,
 };