[PATCH 1/4] input: lm8323: move header file out of I2C realm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux