Commit 0e771127 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: s3c64xx: include header to fix -Wmissing-prototypes

Include the spi-s3c64xx.h header to fix W=1 build warning:

    arch/arm/mach-s3c64xx/setup-spi.c:11:5: warning:
        no previous prototype for 's3c64xx_spi0_cfg_gpio' [-Wmissing-prototypes]
       11 | int s3c64xx_spi0_cfg_gpio(void)
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Reviewed-by: default avatarTomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: default avatarStephen Boyd <sboyd@kernel.org>
parent bb82067a
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
// http://www.samsung.com/ // http://www.samsung.com/
#include <linux/gpio.h> #include <linux/gpio.h>
#include <linux/platform_data/spi-s3c64xx.h>
#include <plat/gpio-cfg.h> #include <plat/gpio-cfg.h>
#include <mach/gpio-samsung.h> #include <mach/gpio-samsung.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment