diff options
author | Naveen Krishna <ch.naveen@samsung.com> | 2010-05-18 07:44:27 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-05-19 05:25:22 -0400 |
commit | 5bfdca146edc558ae6b3bac6b05dc5b1f094fbf3 (patch) | |
tree | 16f5d546a0ac4cd948efa8576ce20f8ecc6f865e /arch/arm/plat-samsung | |
parent | 909de0d67dbd9488d5f77bdcadcd34264fea3c02 (diff) |
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 { | |||
14 | int delay; | 14 | int delay; |
15 | int presc; | 15 | int presc; |
16 | int oversampling_shift; | 16 | int oversampling_shift; |
17 | void (*cfg_gpio)(struct platform_device *dev); | ||
17 | }; | 18 | }; |
18 | 19 | ||
19 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); | 20 | extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); |
20 | 21 | ||
22 | /* defined by architecture to configure gpio */ | ||
23 | extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); | ||
24 | |||
21 | #endif /* __ASM_ARM_TS_H */ | 25 | #endif /* __ASM_ARM_TS_H */ |