summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-22 16:30:04 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-05-22 17:26:58 -0700
commit8fd708157a592a376c4d0b3b2ba23b9e9f79caa5 (patch)
treec5617ab3db96b51aff72ec5009bd3a750678a966 /drivers/input
parent0d846a4cbbcbf81e527542d15e165b8f774bace5 (diff)
downloadlinux-stable-8fd708157a592a376c4d0b3b2ba23b9e9f79caa5.tar.gz
linux-stable-8fd708157a592a376c4d0b3b2ba23b9e9f79caa5.tar.bz2
linux-stable-8fd708157a592a376c4d0b3b2ba23b9e9f79caa5.zip
Input: tsc2007 - move header file out of I2C realm
include/linux/i2c is not for client devices. Move the header file to a more appropriate location. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/touchscreen/tsc2007_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/tsc2007_core.c b/drivers/input/touchscreen/tsc2007_core.c
index fc7384936011..8342e0c48a53 100644
--- a/drivers/input/touchscreen/tsc2007_core.c
+++ b/drivers/input/touchscreen/tsc2007_core.c
@@ -25,9 +25,9 @@
#include <linux/input.h>
#include <linux/interrupt.h>
#include <linux/i2c.h>
-#include <linux/i2c/tsc2007.h>
#include <linux/of_device.h>
#include <linux/of_gpio.h>
+#include <linux/platform_data/tsc2007.h>
#include "tsc2007.h"
int tsc2007_xfer(struct tsc2007 *tsc, u8 cmd)