diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2017-05-21 22:42:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 18:25:00 +0200 |
commit | 7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918 (patch) | |
tree | d43490f107a5c2cb3abd1626bca6e801f4b89262 | |
parent | 610387d162eb1beb6eb2009af5175dc6b44b8da6 (diff) | |
download | blackbird-op-linux-7ae5f10a9fc1ae2f001ab3be5be84a5d0a89f918.tar.gz blackbird-op-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>
-rw-r--r-- | drivers/misc/bh1770glc.c | 2 | ||||
-rw-r--r-- | include/linux/platform_data/bh1770glc.h (renamed from include/linux/i2c/bh1770glc.h) | 0 |
2 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> diff --git a/include/linux/i2c/bh1770glc.h b/include/linux/platform_data/bh1770glc.h index 8b5e2df36c72..8b5e2df36c72 100644 --- a/include/linux/i2c/bh1770glc.h +++ b/include/linux/platform_data/bh1770glc.h |