summaryrefslogtreecommitdiffstats
path: root/drivers/misc/bh1770glc.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2017-05-21 22:42:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-25 18:25:00 +0200
commit7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918 (patch)
treed43490f107a5c2cb3abd1626bca6e801f4b89262 /drivers/misc/bh1770glc.c
parent610387d162eb1beb6eb2009af5175dc6b44b8da6 (diff)
downloadlinux-7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918.tar.gz
linux-7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918.tar.bz2
linux-7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918.zip
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>
Diffstat (limited to 'drivers/misc/bh1770glc.c')
-rw-r--r--drivers/misc/bh1770glc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/bh1770glc.c b/drivers/misc/bh1770glc.c
index 845466e45b95..38fcfe219d1c 100644
--- a/drivers/misc/bh1770glc.c
+++ b/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>