Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1646444

[PATCH 3/4] input: mms114: move header file out of I2C realm

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject [PATCH 3/4] input: mms114: move header file out of I2C realm
Date 2017-05-21 22:50 +0200
Message-ID <tJFXA-4dN-29@gated-at.bofh.it> (permalink)
References <tJFXz-4dN-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 drivers/input/touchscreen/mms114.c    | 2 +-
 include/linux/{i2c => input}/mms114.h | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename include/linux/{i2c => input}/mms114.h (100%)

diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 1fafc9f57af6c7..0a0425e9c29c3d 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -11,7 +11,7 @@
 #include <linux/delay.h>
 #include <linux/of.h>
 #include <linux/i2c.h>
-#include <linux/i2c/mms114.h>
+#include <linux/input/mms114.h>
 #include <linux/input/mt.h>
 #include <linux/interrupt.h>
 #include <linux/regulator/consumer.h>
diff --git a/include/linux/i2c/mms114.h b/include/linux/input/mms114.h
similarity index 100%
rename from include/linux/i2c/mms114.h
rename to include/linux/input/mms114.h
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] input: move include files out of include/linux/i2c Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200
  [PATCH 2/4] input: mcs: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200
  [PATCH 4/4] input: tsc2007: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200
    Re: [PATCH 4/4] input: tsc2007: move header file out of I2C realm Lee Jones <lee.jones@linaro.org> - 2017-05-22 09:50 +0200
      Re: [PATCH 4/4] input: tsc2007: move header file out of I2C realm Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-05-22 23:00 +0200
  [PATCH 1/4] input: lm8323: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200
  [PATCH 3/4] input: mms114: move header file out of I2C realm Wolfram Sang <wsa@the-dreams.de> - 2017-05-21 22:50 +0200

csiph-web