Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933524AbbELRuL (ORCPT ); Tue, 12 May 2015 13:50:11 -0400 Received: from mail-pa0-f42.google.com ([209.85.220.42]:35384 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933010AbbELRuI convert rfc822-to-8bit (ORCPT ); Tue, 12 May 2015 13:50:08 -0400 MIME-Version: 1.0 In-Reply-To: <554B5749.60801@samsung.com> References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> <1430986090-7243-3-git-send-email-geert@linux-m68k.org> <554B5749.60801@samsung.com> From: Bryan Wu Date: Tue, 12 May 2015 10:49:46 -0700 Message-ID: Subject: Re: [PATCH 2/3] leds: leds-gpio: Add missing #include To: Jacek Anaszewski Cc: Geert Uytterhoeven , Linus Walleij , Alexandre Courbot , Richard Purdie , Arnd Bergmann , "linux-gpio@vger.kernel.org" , Linux LED Subsystem , lkml 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: 1379 Lines: 41 On Thu, May 7, 2015 at 5:15 AM, Jacek Anaszewski wrote: > On 05/07/2015 10:08 AM, Geert Uytterhoeven wrote: >> >> drivers/leds/leds-gpio.c: In function ‘gpio_leds_create’: >> drivers/leds/leds-gpio.c:194: error: implicit declaration of function >> ‘of_node’ >> drivers/leds/leds-gpio.c:194: warning: assignment makes pointer from >> integer without a cast >> drivers/leds/leds-gpio.c:200: error: dereferencing pointer to incomplete >> type >> >> Signed-off-by: Geert Uytterhoeven >> --- >> drivers/leds/leds-gpio.c | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git a/drivers/leds/leds-gpio.c b/drivers/leds/leds-gpio.c >> index 15eb3f86f670ffe4..89d981e8f8cacf55 100644 >> --- a/drivers/leds/leds-gpio.c >> +++ b/drivers/leds/leds-gpio.c >> @@ -16,6 +16,7 @@ >> #include >> #include >> #include >> +#include >> #include >> #include >> #include >> > > Acked-by: Jacek Anaszewski > Merged, thanks. -Bryan -- 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/