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>
This commit is contained in:
Krzysztof Kozlowski 2020-08-04 21:26:52 +02:00
parent dc986f243e
commit 79f35b7cc6
1 changed files with 2 additions and 0 deletions

View File

@ -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>