aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx/setup-ts.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2020-08-04 21:26:52 +0200
committerKrzysztof Kozlowski <krzk@kernel.org>2020-08-17 18:54:33 +0200
commit79f35b7cc664bdc018c909b47e539525b5f9015a (patch)
tree27f9edda999140bc2be5415120a776660c855d61 /arch/arm/mach-s3c24xx/setup-ts.c
parentARM: s3c24xx: sdhci: include plat/sdhci.h header (diff)
downloadlinux-dev-79f35b7cc664bdc018c909b47e539525b5f9015a.tar.xz
linux-dev-79f35b7cc664bdc018c909b47e539525b5f9015a.zip
ARM: s3c24xx: ts: include platform data header
Include platform_data/touchscreen-s3c2410.h header in the touchscreen code to bring the prototypes of defined functions and fix W=1 compile warning: arch/arm/mach-s3c24xx/setup-ts.c:24:6: warning: no previous prototype for 's3c24xx_ts_cfg_gpio' [-Wmissing-prototypes] Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'arch/arm/mach-s3c24xx/setup-ts.c')
-rw-r--r--arch/arm/mach-s3c24xx/setup-ts.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c
index 53a14d4f4852..bf1a7fcf465f 100644
--- a/arch/arm/mach-s3c24xx/setup-ts.c
+++ b/arch/arm/mach-s3c24xx/setup-ts.c
@@ -10,6 +10,8 @@
struct platform_device; /* don't need the contents */
+#include <linux/platform_data/touchscreen-s3c2410.h>
+
#include <plat/gpio-cfg.h>
#include <mach/hardware.h>
#include <mach/gpio-samsung.h>