Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751365AbbEGII1 (ORCPT ); Thu, 7 May 2015 04:08:27 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:38977 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898AbbEGIIQ (ORCPT ); Thu, 7 May 2015 04:08:16 -0400 From: Geert Uytterhoeven To: Linus Walleij , Alexandre Courbot , Bryan Wu , Richard Purdie , Arnd Bergmann Cc: Jacek Anaszewski , linux-gpio@vger.kernel.org, linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/3] leds: leds-gpio: Add missing #include Date: Thu, 7 May 2015 10:08:09 +0200 Message-Id: <1430986090-7243-3-git-send-email-geert@linux-m68k.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> References: <1430986090-7243-1-git-send-email-geert@linux-m68k.org> MIME-Version: 1.0 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: 1084 Lines: 30 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 -- 1.9.1 -- 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/