summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/tsc2007_core.c
diff options
context:
space:
mode:
authorWolfram Sang2017-05-23 01:30:04 +0200
committerDmitry Torokhov2017-05-23 02:26:58 +0200
commit8fd708157a592a376c4d0b3b2ba23b9e9f79caa5 (patch)
treec5617ab3db96b51aff72ec5009bd3a750678a966 /drivers/input/touchscreen/tsc2007_core.c
parentInput: mms114 - move header file out of I2C realm (diff)
downloadkernel-qcow2-linux-8fd708157a592a376c4d0b3b2ba23b9e9f79caa5.tar.gz
kernel-qcow2-linux-8fd708157a592a376c4d0b3b2ba23b9e9f79caa5.tar.xz
kernel-qcow2-linux-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/touchscreen/tsc2007_core.c')
-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)