diff mbox

gpio: dln2: fix build breakage

Message ID 1431436825-31612-1-git-send-email-johan@kernel.org
State New
Headers show

Commit Message

Johan Hovold May 12, 2015, 1:20 p.m. UTC
The dln2 driver was initialising a gpiolib private field, which is now
gone.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
---
 drivers/gpio/gpio-dln2.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexandre Courbot May 13, 2015, 7:05 a.m. UTC | #1
On Tue, May 12, 2015 at 10:20 PM, Johan Hovold <johan@kernel.org> wrote:
> The dln2 driver was initialising a gpiolib private field, which is now
> gone.
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Acked-by: Alexandre Courbot <acourbot@nvidia.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij May 13, 2015, 8:02 a.m. UTC | #2
On Tue, May 12, 2015 at 3:20 PM, Johan Hovold <johan@kernel.org> wrote:

> The dln2 driver was initialising a gpiolib private field, which is now
> gone.
>
> Reported-by: kbuild test robot <fengguang.wu@intel.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Patch applied.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/gpio/gpio-dln2.c b/drivers/gpio/gpio-dln2.c
index dbdb4de82c6d..6685712c15cf 100644
--- a/drivers/gpio/gpio-dln2.c
+++ b/drivers/gpio/gpio-dln2.c
@@ -466,7 +466,6 @@  static int dln2_gpio_probe(struct platform_device *pdev)
 	dln2->gpio.owner = THIS_MODULE;
 	dln2->gpio.base = -1;
 	dln2->gpio.ngpio = pins;
-	dln2->gpio.exported = true;
 	dln2->gpio.can_sleep = true;
 	dln2->gpio.irq_not_threaded = true;
 	dln2->gpio.set = dln2_gpio_set;