2015-05-12 13:20:51

by Johan Hovold

[permalink] [raw]
Subject: [PATCH] gpio: dln2: fix build breakage

The dln2 driver was initialising a gpiolib private field, which is now
gone.

Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
---
drivers/gpio/gpio-dln2.c | 1 -
1 file changed, 1 deletion(-)

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;
--
2.3.6


2015-05-13 07:05:37

by Alexandre Courbot

[permalink] [raw]
Subject: Re: [PATCH] gpio: dln2: fix build breakage

On Tue, May 12, 2015 at 10:20 PM, Johan Hovold <[email protected]> wrote:
> The dln2 driver was initialising a gpiolib private field, which is now
> gone.
>
> Reported-by: kbuild test robot <[email protected]>
> Signed-off-by: Johan Hovold <[email protected]>

Acked-by: Alexandre Courbot <[email protected]>

2015-05-13 08:02:59

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] gpio: dln2: fix build breakage

On Tue, May 12, 2015 at 3:20 PM, Johan Hovold <[email protected]> wrote:

> The dln2 driver was initialising a gpiolib private field, which is now
> gone.
>
> Reported-by: kbuild test robot <[email protected]>
> Signed-off-by: Johan Hovold <[email protected]>

Patch applied.

Yours,
Linus Walleij