Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752742AbaABWnK (ORCPT ); Thu, 2 Jan 2014 17:43:10 -0500 Received: from mail-lb0-f169.google.com ([209.85.217.169]:34389 "EHLO mail-lb0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752410AbaABWnI convert rfc822-to-8bit (ORCPT ); Thu, 2 Jan 2014 17:43:08 -0500 MIME-Version: 1.0 In-Reply-To: <1388394595-1347-1-git-send-email-tushar.behera@linaro.org> References: <1388394595-1347-1-git-send-email-tushar.behera@linaro.org> From: Bryan Wu Date: Thu, 2 Jan 2014 14:42:45 -0800 Message-ID: Subject: Re: [PATCH] leds: s3c24xx: Fix build failure To: Tushar Behera Cc: lkml , Linux LED Subsystem , "rpurdie@rpsys.net" Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1332 Lines: 42 On Mon, Dec 30, 2013 at 1:09 AM, Tushar Behera wrote: > Fixes following build error. > drivers/leds/leds-s3c24xx.c: In function ?s3c24xx_led_probe?: > drivers/leds/leds-s3c24xx.c:100:2: error: implicit declaration of > function ?s3c_gpio_setpull? [-Werror=implicit-function-declaration] > I don't see any building error with s3c2410_defconfig. Actually this is included in arch/arm/mach-s3c24xx/include/mach/gpio.h which is in arch/arm/include/asm/gpio.h, then Thanks, -Bryan > Signed-off-by: Tushar Behera > --- > Tested at next-20131224. > > drivers/leds/leds-s3c24xx.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/leds/leds-s3c24xx.c b/drivers/leds/leds-s3c24xx.c > index 76483fb..87cf215 100644 > --- a/drivers/leds/leds-s3c24xx.c > +++ b/drivers/leds/leds-s3c24xx.c > @@ -21,6 +21,7 @@ > > #include > #include > +#include > #include > > /* our context */ > -- > 1.7.9.5 > -- 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/