aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2014-02-14 02:57:37 -0500
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-02-14 03:09:43 -0500
commit1560a838f1a6402bdb2006cf30221e83106b0d02 (patch)
tree38a8311d16da777cd443eb528063743656d3ecdc /include/linux/platform_data
parente5fcd269c4599c4d224333b20e3ffd5e910d4db3 (diff)
Input: s3c2410 - trivial cleanup in header file
Commit 436d42c61c3e ("ARM: samsung: move platform_data definitions") moved the files to the current location but forgot to remove the pointer to its previous location. Clean it up. While at it also change the header file protection macros appropriately and remove whitespace errors. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/touchscreen-s3c2410.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/include/linux/platform_data/touchscreen-s3c2410.h b/include/linux/platform_data/touchscreen-s3c2410.h
index 26fdb22e0fc2..58dc7c5ae63b 100644
--- a/include/linux/platform_data/touchscreen-s3c2410.h
+++ b/include/linux/platform_data/touchscreen-s3c2410.h
@@ -1,5 +1,4 @@
1/* arch/arm/plat-samsung/include/plat/ts.h 1/*
2 *
3 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org> 2 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
4 * 3 *
5 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
@@ -7,14 +6,14 @@
7 * published by the Free Software Foundation. 6 * published by the Free Software Foundation.
8*/ 7*/
9 8
10#ifndef __ASM_ARM_TS_H 9#ifndef __TOUCHSCREEN_S3C2410_H
11#define __ASM_ARM_TS_H 10#define __TOUCHSCREEN_S3C2410_H
12 11
13struct s3c2410_ts_mach_info { 12struct s3c2410_ts_mach_info {
14 int delay; 13 int delay;
15 int presc; 14 int presc;
16 int oversampling_shift; 15 int oversampling_shift;
17 void (*cfg_gpio)(struct platform_device *dev); 16 void (*cfg_gpio)(struct platform_device *dev);
18}; 17};
19 18
20extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *); 19extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
@@ -22,4 +21,4 @@ extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
22/* defined by architecture to configure gpio */ 21/* defined by architecture to configure gpio */
23extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev); 22extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
24 23
25#endif /* __ASM_ARM_TS_H */ 24#endif /*__TOUCHSCREEN_S3C2410_H */