diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2014-01-07 18:39:48 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-01-07 18:39:48 +0100 |
commit | 224feb33a645a953634f64fe9092b9ee7dd72541 (patch) | |
tree | e1adf641a6142ab7c6784ed5b878e82b9cb7dcfb /drivers/leds/leds-s3c24xx.c | |
parent | gpio: tb10x: Remove redundant of_match_ptr helper (diff) | |
download | linux-224feb33a645a953634f64fe9092b9ee7dd72541.tar.xz linux-224feb33a645a953634f64fe9092b9ee7dd72541.zip |
leds: s3c24xx: Fix build failure
Commit c67d0f29262b ("ARM: s3c24xx: get rid of custom <mach/gpio.h>")
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 <tushar.behera@linaro.org>
Acked-by: Bryan Wu <cooloney@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/leds/leds-s3c24xx.c')
-rw-r--r-- | drivers/leds/leds-s3c24xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 <mach/hardware.h> #include <mach/regs-gpio.h> +#include <plat/gpio-cfg.h> #include <linux/platform_data/leds-s3c24xx.h> /* our context */ |