Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932250AbbELHrZ (ORCPT ); Tue, 12 May 2015 03:47:25 -0400 Received: from mail-ie0-f176.google.com ([209.85.223.176]:34614 "EHLO mail-ie0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751802AbbELHrW convert rfc822-to-8bit (ORCPT ); Tue, 12 May 2015 03:47:22 -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> From: Alexandre Courbot Date: Tue, 12 May 2015 16:47:01 +0900 Message-ID: Subject: Re: [PATCH 1/3] gpiolib: Add missing dummies for the unified device properties interface To: Geert Uytterhoeven Cc: Linus Walleij , Bryan Wu , Richard Purdie , Arnd Bergmann , Jacek Anaszewski , "linux-gpio@vger.kernel.org" , "linux-leds@vger.kernel.org" , Linux Kernel Mailing List 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: 812 Lines: 18 On Thu, May 7, 2015 at 5:08 PM, 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. This was obviously missing. Acked-by: Alexandre Courbot -- 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/