From patchwork Thu May 7 08:08:09 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 469330 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 498D614028F for ; Thu, 7 May 2015 18:08:23 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751252AbbEGIIU (ORCPT ); Thu, 7 May 2015 04:08:20 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:38976 "EHLO andre.telenet-ops.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751021AbbEGIIQ (ORCPT ); Thu, 7 May 2015 04:08:16 -0400 Received: from ayla.of.borg ([84.193.93.87]) by andre.telenet-ops.be with bizsmtp id Qw8E1q00E1t5w8s01w8E4l; Thu, 07 May 2015 10:08:14 +0200 Received: from ramsan.of.borg ([192.168.97.29] helo=ramsan) by ayla.of.borg with esmtp (Exim 4.82) (envelope-from ) id 1YqGqq-0000nc-3N; Thu, 07 May 2015 10:08:12 +0200 Received: from geert by ramsan with local (Exim 4.82) (envelope-from ) id 1YqGqq-0001tc-Lq; Thu, 07 May 2015 10:08:12 +0200 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 Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org 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 Acked-by: Jacek Anaszewski --- 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