From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Walleij Subject: Re: [PATCH 1/3] gpiolib: Add missing dummies for the unified device properties interface Date: Tue, 12 May 2015 12:31:35 +0200 Message-ID: References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> <1430986090-7243-2-git-send-email-geert@linux-m68k.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <1430986090-7243-2-git-send-email-geert@linux-m68k.org> Sender: linux-leds-owner@vger.kernel.org To: Geert Uytterhoeven Cc: Alexandre Courbot , Bryan Wu , Richard Purdie , Arnd Bergmann , Jacek Anaszewski , "linux-gpio@vger.kernel.org" , "linux-leds@vger.kernel.org" , "linux-kernel@vger.kernel.org" List-Id: linux-gpio@vger.kernel.org On Thu, May 7, 2015 at 10:08 AM, Geert Uytterhoeven wrote: > If GPIOLIB=3Dn: > > drivers/leds/leds-gpio.c: In function =E2=80=98gpio_leds_create=E2= =80=99: > drivers/leds/leds-gpio.c:187: error: implicit declaration of func= tion =E2=80=98devm_get_gpiod_from_child=E2=80=99 > drivers/leds/leds-gpio.c:187: warning: assignment makes pointer f= rom integer without a cast > > Add dummies for fwnode_get_named_gpiod() and devm_get_gpiod_from_chil= d() > for the !GPIOLIB case to fix this. > > Signed-off-by: Geert Uytterhoeven > Fixes: 40b7318319281b1b ("gpio: Support for unified device properties= interface") Acked-by: Linus Walleij Counting on this to go through the LEDs tree as discussed. Yours, Linus Walleij