gpio: dln2: fix build breakage
authorJohan Hovold <johan@kernel.org>
Tue, 12 May 2015 13:20:25 +0000 (15:20 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 13 May 2015 08:02:12 +0000 (10:02 +0200)
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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-dln2.c

index dbdb4de..6685712 100644 (file)
@@ -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;