Re: [PATCH 1/3] gpiolib: Add missing dummies for the unified device properties interface

From: Alexandre Courbot
Date: Tue May 12 2015 - 03:47:28 EST


On Thu, May 7, 2015 at 5:08 PM, Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> 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.

This was obviously missing.

Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/