Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932265AbbELKbj (ORCPT ); Tue, 12 May 2015 06:31:39 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:33285 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752873AbbELKbg convert rfc822-to-8bit (ORCPT ); Tue, 12 May 2015 06:31:36 -0400 MIME-Version: 1.0 In-Reply-To: <1430986090-7243-2-git-send-email-geert@linux-m68k.org> References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> <1430986090-7243-2-git-send-email-geert@linux-m68k.org> Date: Tue, 12 May 2015 12:31:35 +0200 Message-ID: Subject: Re: [PATCH 1/3] gpiolib: Add missing dummies for the unified device properties interface From: Linus Walleij 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" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1013 Lines: 26 On Thu, May 7, 2015 at 10:08 AM, Geert Uytterhoeven 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. > > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/