summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/setup-spi.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-04 22:26:44 +0300
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 19:54:33 +0300
commit0e77112777f8716fc255638c02c61b0334f05b3a (patch)
tree5372fd7fc4edb26efe483f1aba8e34378967f884 /arch/arm/mach-s3c64xx/setup-spi.c
parentbb82067abc9b6154b9c07b22e8b7fe4685129688 (diff)
downloadlinux-0e77112777f8716fc255638c02c61b0334f05b3a.tar.xz
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: Krzysztof Kozlowski <krzk@kernel.org> Reviewed-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c64xx/setup-spi.c')
-rw-r--r--arch/arm/mach-s3c64xx/setup-spi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/setup-spi.c b/arch/arm/mach-s3c64xx/setup-spi.c
index 39dfae1f46e7..03c9d296bb0f 100644
--- a/arch/arm/mach-s3c64xx/setup-spi.c
+++ b/arch/arm/mach-s3c64xx/setup-spi.c
@@ -4,6 +4,7 @@
// http://www.samsung.com/
#include <linux/gpio.h>
+#include <linux/platform_data/spi-s3c64xx.h>
#include <plat/gpio-cfg.h>
#include <mach/gpio-samsung.h>