Commit 056d6ff4 authored by Wolfram Sang's avatar Wolfram Sang Committed by Lee Jones

video: adp8870: 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: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
Acked-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent 8476d6cd
...@@ -1995,7 +1995,7 @@ static struct adp5588_gpio_platform_data adp5588_gpio_data = { ...@@ -1995,7 +1995,7 @@ static struct adp5588_gpio_platform_data adp5588_gpio_data = {
#endif #endif
#if IS_ENABLED(CONFIG_BACKLIGHT_ADP8870) #if IS_ENABLED(CONFIG_BACKLIGHT_ADP8870)
#include <linux/i2c/adp8870.h> #include <linux/platform_data/adp8870.h>
static struct led_info adp8870_leds[] = { static struct led_info adp8870_leds[] = {
{ {
.name = "adp8870-led7", .name = "adp8870-led7",
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/i2c/adp8870.h> #include <linux/platform_data/adp8870.h>
#define ADP8870_EXT_FEATURES #define ADP8870_EXT_FEATURES
#define ADP8870_USE_LEDS #define ADP8870_USE_LEDS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment