From: Krzysztof Kozlowski Date: Tue, 4 Aug 2020 19:26:52 +0000 (+0200) Subject: ARM: s3c24xx: ts: include platform data header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=79f35b7cc664bdc018c909b47e539525b5f9015a;p=linux.git 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 --- diff --git a/arch/arm/mach-s3c24xx/setup-ts.c b/arch/arm/mach-s3c24xx/setup-ts.c index 53a14d4f48520..bf1a7fcf465f1 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 + #include #include #include