From 224feb33a645a953634f64fe9092b9ee7dd72541 Mon Sep 17 00:00:00 2001 From: Tushar Behera Date: Tue, 7 Jan 2014 18:39:48 +0100 Subject: [PATCH] leds: s3c24xx: Fix build failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Commit c67d0f29262b ("ARM: s3c24xx: get rid of custom ") removed the usage of mach/gpio.h file, but we need to include> plat/gpio-cfg.h to avoid following build error. 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] Signed-off-by: Tushar Behera Acked-by: Bryan Wu Signed-off-by: Linus Walleij --- 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 76483fb5ee45..87cf215af798 100644 --- a/drivers/leds/leds-s3c24xx.c +++ b/drivers/leds/leds-s3c24xx.c @@ -21,6 +21,7 @@ #include #include +#include #include /* our context */ -- 2.20.1