From: Wolfram Sang Date: Mon, 22 May 2017 23:26:56 +0000 (-0700) Subject: Input: mcs - move header file out of I2C realm X-Git-Tag: v4.14-rc1~4^2~12^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8cd9ab9e19b8cf23a7cae503af81ae70154e7956;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/keyboard/mcs_touchkey.c b/drivers/input/keyboard/mcs_touchkey.c index 31090d7..be56d4f 100644 --- a/drivers/input/keyboard/mcs_touchkey.c +++ b/drivers/input/keyboard/mcs_touchkey.c @@ -13,11 +13,11 @@ #include #include -#include #include #include #include #include +#include #include /* MCS5000 Touchkey */ diff --git a/drivers/input/touchscreen/mcs5000_ts.c b/drivers/input/touchscreen/mcs5000_ts.c index 90fc07d..8868573 100644 --- a/drivers/input/touchscreen/mcs5000_ts.c +++ b/drivers/input/touchscreen/mcs5000_ts.c @@ -15,10 +15,10 @@ #include #include -#include #include #include #include +#include #include /* Registers */ diff --git a/include/linux/i2c/mcs.h b/include/linux/platform_data/mcs.h similarity index 100% rename from include/linux/i2c/mcs.h rename to include/linux/platform_data/mcs.h