Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752675AbbEGMPN (ORCPT ); Thu, 7 May 2015 08:15:13 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:27936 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751423AbbEGMPJ (ORCPT ); Thu, 7 May 2015 08:15:09 -0400 MIME-version: 1.0 Content-type: text/plain; charset=UTF-8; format=flowed X-AuditID: cbfec7f5-f794b6d000001495-be-554b574a1fd7 Content-transfer-encoding: 8BIT Message-id: <554B5749.60801@samsung.com> Date: Thu, 07 May 2015 14:15:05 +0200 From: Jacek Anaszewski User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 To: Geert Uytterhoeven Cc: Linus Walleij , Alexandre Courbot , Bryan Wu , Richard Purdie , Arnd Bergmann , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] leds: leds-gpio: Add missing #include References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> <1430986090-7243-3-git-send-email-geert@linux-m68k.org> In-reply-to: <1430986090-7243-3-git-send-email-geert@linux-m68k.org> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrJLMWRmVeSWpSXmKPExsVy+t/xq7pe4d6hBtOXmVn8nXSM3eLozolM Fs9u7WWyOPfqEYvFlD/LmSw2z//DaHF51xw2i61v1jFa7N71lNWB0+P3r0mMHjtn3WX3uHNt D5vHocMdjB575v9g9fi8SS6ALYrLJiU1J7MstUjfLoEr49upC4wFszkqdrfOYGxg/MPWxcjJ ISFgIrFxVisThC0mceHeeqA4F4eQwFJGid6V98ESvAKCEj8m32PpYuTgYBaQlzhyKRskzCxg JvGoZR0zRP0zRokzL26wQdRrSHzZ28gMYrMIqEq0z73EAmKzCRhK/HzxGmymqECExJ/T+1hB ZooI6ErM+ckEModZYBKTxIclbxhBaoQFvCVenDkFZgsJ1ErM/PCWFcTmFHCReLbnFfsERoFZ SM6bhXDeLCTnLWBkXsUomlqaXFCclJ5rpFecmFtcmpeul5yfu4kREgFfdzAuPWZ1iFGAg1GJ h3eFnXeoEGtiWXFl7iFGCQ5mJRHe02FAId6UxMqq1KL8+KLSnNTiQ4zSHCxK4rwzd70PERJI TyxJzU5NLUgtgskycXBKNTBuMV2Z6VTExJ6WFPxs6sN7HVyviuadzuWf1rzmuGll9k8HH/dF +xTNUiJXh8n/n5XIVvqGLYeVSzSbP9D40tNKwcq+FZEHTnq2Ljx6cw37I72i2fJ3f6nlLy28 GiSmsrjugGrcdy6eVwp667Jbzly1mTvxSkSrT8A7Td5l07T5jeOLPhfN0lRiKc5INNRiLipO BAAtYhPqfAIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1266 Lines: 35 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 -- Best Regards, Jacek Anaszewski -- 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/