diff options
author | Naveen Krishna <ch.naveen@samsung.com> | 2010-05-18 20:44:27 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-19 18:25:22 +0900 |
commit | 5bfdca146edc558ae6b3bac6b05dc5b1f094fbf3 (patch) | |
tree | 16f5d546a0ac4cd948efa8576ce20f8ecc6f865e /arch/arm/plat-samsung | |
parent | 909de0d67dbd9488d5f77bdcadcd34264fea3c02 (diff) | |
download | blackbird-op-linux-5bfdca146edc558ae6b3bac6b05dc5b1f094fbf3.tar.gz blackbird-op-linux-5bfdca146edc558ae6b3bac6b05dc5b1f094fbf3.zip |
ARM: SAMSUNG: Implements cfg_gpio function for Samsung touchscreen
This patch implements cfg_gpio function for Samsung touchscreen.
And also modifies the H1940 machine respectively.
Signed-off-by: Naveen Krishna Ch <ch.naveen@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/ts.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/ts.h b/arch/arm/plat-samsung/include/plat/ts.h index 8a51675f6b03..26fdb22e0fc2 100644 --- a/arch/arm/plat-samsung/include/plat/ts.h +++ b/arch/arm/plat-samsung/include/plat/ts.h @@ -14,8 +14,12 @@ struct s3c2410_ts_mach_info { int delay; int presc; int oversampling_shift; + void (*cfg_gpio)(struct platform_device *dev); }; extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); +/* defined by architecture to configure gpio */ +extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); + #endif /* __ASM_ARM_TS_H */ |