summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-22 16:26:56 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-05-22 17:26:57 -0700
commit8cd9ab9e19b8cf23a7cae503af81ae70154e7956 (patch)
treed79a072975aa098cfc40e90a5872c4a12782e93e /drivers/input
parentf81126b0b67c864b0b3d614d8adadc3a37ba5209 (diff)
downloadlinux-8cd9ab9e19b8cf23a7cae503af81ae70154e7956.tar.gz
linux-8cd9ab9e19b8cf23a7cae503af81ae70154e7956.tar.bz2
linux-8cd9ab9e19b8cf23a7cae503af81ae70154e7956.zip
Input: mcs - 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> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/mcs_touchkey.c2
-rw-r--r--drivers/input/touchscreen/mcs5000_ts.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c
index 31090d71a685..be56d4f262a7 100644
--- a/drivers/input/keyboard/mcs_touchkey.c
+++ b/drivers/input/keyboard/mcs_touchkey.c
@@ -13,11 +13,11 @@
#include <linux/module.h>
#include <linux/i2c.h>
-#include <linux/i2c/mcs.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/irq.h>
#include <linux/slab.h>
+#include <linux/platform_data/mcs.h>
#include <linux/pm.h>
/* MCS5000 Touchkey */
diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c
index 90fc07dc98a6..8868573133ab 100644
--- a/drivers/input/touchscreen/mcs5000_ts.c
+++ b/drivers/input/touchscreen/mcs5000_ts.c
@@ -15,10 +15,10 @@
#include <linux/module.h>
#include <linux/i2c.h>
-#include <linux/i2c/mcs.h>
#include <linux/interrupt.h>
#include <linux/input.h>
#include <linux/irq.h>
+#include <linux/platform_data/mcs.h>
#include <linux/slab.h>
/* Registers */