]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
video: adp8870: move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 May 2017 22:09:53 +0000 (00:09 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:58:39 +0000 (08:58 +0100)
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>
Acked-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/blackfin/mach-bf537/boards/stamp.c
drivers/video/backlight/adp8870_bl.c
include/linux/platform_data/adp8870.h [moved from include/linux/i2c/adp8870.h with 100% similarity]

index 76983dfba3243440be6423dac9b357e7b0c94d99..388b91e21b74a012dd8ae19e2f9bb7bfe6f5bea5 100644 (file)
@@ -1995,7 +1995,7 @@ static struct adp5588_gpio_platform_data adp5588_gpio_data = {
 #endif
 
 #if IS_ENABLED(CONFIG_BACKLIGHT_ADP8870)
-#include <linux/i2c/adp8870.h>
+#include <linux/platform_data/adp8870.h>
 static struct led_info adp8870_leds[] = {
        {
                .name = "adp8870-led7",
index 21acac90fd773f237f744c2790853fe80b35958c..058d1def2d1f4ba6caa6d2e6a720fb41e206b715 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/workqueue.h>
 #include <linux/slab.h>
 
-#include <linux/i2c/adp8870.h>
+#include <linux/platform_data/adp8870.h>
 #define ADP8870_EXT_FEATURES
 #define ADP8870_USE_LEDS