[PATCH 1/4] input: lm8323: move header file out of I2C realm
From: Wolfram Sang
Date: Sun May 21 2017 - 16:40:25 EST
include/linux/i2c is not for client devices. Move the header file to a
more appropriate location.
Signed-off-by: Wolfram Sang <wsa@xxxxxxxxxxxxx>
---
drivers/input/keyboard/lm8323.c | 2 +-
include/linux/{i2c => input}/lm8323.h | 0
2 files changed, 1 insertion(+), 1 deletion(-)
rename include/linux/{i2c => input}/lm8323.h (100%)
diff --git a/drivers/input/keyboard/lm8323.c b/drivers/input/keyboard/lm8323.c
index 21bea52d436579..53fc226e589048 100644
--- a/drivers/input/keyboard/lm8323.c
+++ b/drivers/input/keyboard/lm8323.c
@@ -31,7 +31,7 @@
#include <linux/input.h>
#include <linux/leds.h>
#include <linux/pm.h>
-#include <linux/i2c/lm8323.h>
+#include <linux/input/lm8323.h>
#include <linux/slab.h>
/* Commands to send to the chip. */
diff --git a/include/linux/i2c/lm8323.h b/include/linux/input/lm8323.h
similarity index 100%
rename from include/linux/i2c/lm8323.h
rename to include/linux/input/lm8323.h
--
2.11.0