kernel_optimize_test/include/linux/gpio
Geert Uytterhoeven 496e7ce2a4 gpiolib: Add missing dummies for the unified device properties interface
If GPIOLIB=n:

    drivers/leds/leds-gpio.c: In function ‘gpio_leds_create’:
    drivers/leds/leds-gpio.c:187: error: implicit declaration of function ‘devm_get_gpiod_from_child’
    drivers/leds/leds-gpio.c:187: warning: assignment makes pointer from integer without a cast

Add dummies for fwnode_get_named_gpiod() and devm_get_gpiod_from_child()
for the !GPIOLIB case to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Fixes: 40b7318319 ("gpio: Support for unified device properties interface")
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
2015-05-25 13:26:45 -07:00
..
consumer.h gpiolib: Add missing dummies for the unified device properties interface 2015-05-25 13:26:45 -07:00
driver.h gpio: move pincontrol calls to <linux/gpio/driver.h> 2015-03-19 09:45:54 +01:00
machine.h gpio: add missing includes in machine.h 2014-08-07 11:54:51 +02:00