]> www.infradead.org Git - users/willy/xarray.git/commitdiff
misc: bh1770glc: move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 May 2017 20:42:33 +0000 (22:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 May 2017 16:25:00 +0000 (18:25 +0200)
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/bh1770glc.c
include/linux/platform_data/bh1770glc.h [moved from include/linux/i2c/bh1770glc.h with 100% similarity]

index 845466e45b9593ece7702c574fb5a42fc6032bd4..38fcfe219d1cf1392e6e72f9fe447259374dee6b 100644 (file)
@@ -27,7 +27,7 @@
 #include <linux/i2c.h>
 #include <linux/interrupt.h>
 #include <linux/mutex.h>
-#include <linux/i2c/bh1770glc.h>
+#include <linux/platform_data/bh1770glc.h>
 #include <linux/regulator/consumer.h>
 #include <linux/pm_runtime.h>
 #include <linux/workqueue.h>