aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/blackfin/mach-bf527/boards/ezbrd.c2
-rw-r--r--arch/blackfin/mach-bf527/boards/ezkit.c2
-rw-r--r--arch/blackfin/mach-bf527/boards/tll6527m.c2
-rw-r--r--arch/blackfin/mach-bf537/boards/stamp.c2
-rw-r--r--arch/blackfin/mach-bf538/boards/ezkit.c2
-rw-r--r--drivers/input/touchscreen/ad7879.c10
-rw-r--r--include/linux/platform_data/ad7879.h (renamed from include/linux/spi/ad7879.h)2
7 files changed, 11 insertions, 11 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c
index a3a572352769..80bcfd1d023e 100644
--- a/arch/blackfin/mach-bf527/boards/ezbrd.c
+++ b/arch/blackfin/mach-bf527/boards/ezbrd.c
@@ -279,7 +279,7 @@ static const struct ad7877_platform_data bfin_ad7877_ts_info = {
279#endif 279#endif
280 280
281#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879) 281#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879)
282#include <linux/spi/ad7879.h> 282#include <linux/platform_data/ad7879.h>
283static const struct ad7879_platform_data bfin_ad7879_ts_info = { 283static const struct ad7879_platform_data bfin_ad7879_ts_info = {
284 .model = 7879, /* Model = AD7879 */ 284 .model = 7879, /* Model = AD7879 */
285 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */ 285 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c
index d4219e8e5ab8..571edfd2ecf3 100644
--- a/arch/blackfin/mach-bf527/boards/ezkit.c
+++ b/arch/blackfin/mach-bf527/boards/ezkit.c
@@ -477,7 +477,7 @@ static const struct ad7877_platform_data bfin_ad7877_ts_info = {
477#endif 477#endif
478 478
479#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879) 479#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879)
480#include <linux/spi/ad7879.h> 480#include <linux/platform_data/ad7879.h>
481static const struct ad7879_platform_data bfin_ad7879_ts_info = { 481static const struct ad7879_platform_data bfin_ad7879_ts_info = {
482 .model = 7879, /* Model = AD7879 */ 482 .model = 7879, /* Model = AD7879 */
483 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */ 483 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */
diff --git a/arch/blackfin/mach-bf527/boards/tll6527m.c b/arch/blackfin/mach-bf527/boards/tll6527m.c
index a0f5856a5ff8..c1acce4c2e45 100644
--- a/arch/blackfin/mach-bf527/boards/tll6527m.c
+++ b/arch/blackfin/mach-bf527/boards/tll6527m.c
@@ -29,7 +29,7 @@
29#include <asm/dpmc.h> 29#include <asm/dpmc.h>
30 30
31#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879) 31#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879)
32#include <linux/spi/ad7879.h> 32#include <linux/platform_data/ad7879.h>
33#define LCD_BACKLIGHT_GPIO 0x40 33#define LCD_BACKLIGHT_GPIO 0x40
34/* TLL6527M uses TLL7UIQ35 / ADI LCD EZ Extender. AD7879 AUX GPIO is used for 34/* TLL6527M uses TLL7UIQ35 / ADI LCD EZ Extender. AD7879 AUX GPIO is used for
35 * LCD Backlight Enable 35 * LCD Backlight Enable
diff --git a/arch/blackfin/mach-bf537/boards/stamp.c b/arch/blackfin/mach-bf537/boards/stamp.c
index 88a19fc9844d..cb1b6a9ee4f2 100644
--- a/arch/blackfin/mach-bf537/boards/stamp.c
+++ b/arch/blackfin/mach-bf537/boards/stamp.c
@@ -776,7 +776,7 @@ static const struct ad7877_platform_data bfin_ad7877_ts_info = {
776#endif 776#endif
777 777
778#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879) 778#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879)
779#include <linux/spi/ad7879.h> 779#include <linux/platform_data/ad7879.h>
780static const struct ad7879_platform_data bfin_ad7879_ts_info = { 780static const struct ad7879_platform_data bfin_ad7879_ts_info = {
781 .model = 7879, /* Model = AD7879 */ 781 .model = 7879, /* Model = AD7879 */
782 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */ 782 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */
diff --git a/arch/blackfin/mach-bf538/boards/ezkit.c b/arch/blackfin/mach-bf538/boards/ezkit.c
index ae2fcbb00119..4a03c4465dbe 100644
--- a/arch/blackfin/mach-bf538/boards/ezkit.c
+++ b/arch/blackfin/mach-bf538/boards/ezkit.c
@@ -521,7 +521,7 @@ static struct bfin5xx_spi_chip spi_flash_chip_info = {
521#endif /* CONFIG_SPI_BFIN5XX */ 521#endif /* CONFIG_SPI_BFIN5XX */
522 522
523#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879) 523#if IS_ENABLED(CONFIG_TOUCHSCREEN_AD7879)
524#include <linux/spi/ad7879.h> 524#include <linux/platform_data/ad7879.h>
525static const struct ad7879_platform_data bfin_ad7879_ts_info = { 525static const struct ad7879_platform_data bfin_ad7879_ts_info = {
526 .model = 7879, /* Model = AD7879 */ 526 .model = 7879, /* Model = AD7879 */
527 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */ 527 .x_plate_ohms = 620, /* 620 Ohm from the touch datasheet */
diff --git a/drivers/input/touchscreen/ad7879.c b/drivers/input/touchscreen/ad7879.c
index fec66ad80513..b32dbf389777 100644
--- a/drivers/input/touchscreen/ad7879.c
+++ b/drivers/input/touchscreen/ad7879.c
@@ -31,7 +31,7 @@
31#include <linux/i2c.h> 31#include <linux/i2c.h>
32#include <linux/gpio.h> 32#include <linux/gpio.h>
33 33
34#include <linux/spi/ad7879.h> 34#include <linux/platform_data/ad7879.h>
35#include <linux/module.h> 35#include <linux/module.h>
36#include "ad7879.h" 36#include "ad7879.h"
37 37
@@ -170,10 +170,10 @@ static int ad7879_report(struct ad7879 *ts)
170 * filter. The combination of these two techniques provides a robust 170 * filter. The combination of these two techniques provides a robust
171 * solution, discarding the spurious noise in the signal and keeping 171 * solution, discarding the spurious noise in the signal and keeping
172 * only the data of interest. The size of both filters is 172 * only the data of interest. The size of both filters is
173 * programmable. (dev.platform_data, see linux/spi/ad7879.h) Other 173 * programmable. (dev.platform_data, see linux/platform_data/ad7879.h)
174 * user-programmable conversion controls include variable acquisition 174 * Other user-programmable conversion controls include variable
175 * time, and first conversion delay. Up to 16 averages can be taken 175 * acquisition time, and first conversion delay. Up to 16 averages can
176 * per conversion. 176 * be taken per conversion.
177 */ 177 */
178 178
179 if (likely(x && z1)) { 179 if (likely(x && z1)) {
diff --git a/include/linux/spi/ad7879.h b/include/linux/platform_data/ad7879.h
index 58368be0b4c0..69e2e1fd2bc8 100644
--- a/include/linux/spi/ad7879.h
+++ b/include/linux/platform_data/ad7879.h
@@ -1,4 +1,4 @@
1/* linux/spi/ad7879.h */ 1/* linux/platform_data/ad7879.h */
2 2
3/* Touchscreen characteristics vary between boards and models. The 3/* Touchscreen characteristics vary between boards and models. The
4 * platform_data for the device's "struct device" holds this information. 4 * platform_data for the device's "struct device" holds this information.