Browse Source

misc: bh1770glc: 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 <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Wolfram Sang 8 years ago
parent
commit
7ae5f10a9f
2 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/misc/bh1770glc.c
  2. 0 0
      include/linux/platform_data/bh1770glc.h

+ 1 - 1
drivers/misc/bh1770glc.c

@@ -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>

+ 0 - 0
include/linux/i2c/bh1770glc.h → include/linux/platform_data/bh1770glc.h