]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
backlight: adp8860: Move header file out of I2C realm
authorWolfram Sang <wsa@the-dreams.de>
Sun, 21 May 2017 22:09:52 +0000 (00:09 +0200)
committerLee Jones <lee.jones@linaro.org>
Thu, 6 Jul 2017 07:56:08 +0000 (08:56 +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: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/blackfin/mach-bf537/boards/stamp.c
drivers/video/backlight/adp8860_bl.c
include/linux/platform_data/adp8860.h [moved from include/linux/i2c/adp8860.h with 100% similarity]

index eaec7b4832a29a5ccb219cd37810334e86bb906d..76983dfba3243440be6423dac9b357e7b0c94d99 100644 (file)
@@ -2047,7 +2047,7 @@ static struct adp8870_backlight_platform_data adp8870_pdata = {
 #endif
 
 #if IS_ENABLED(CONFIG_BACKLIGHT_ADP8860)
-#include <linux/i2c/adp8860.h>
+#include <linux/platform_data/adp8860.h>
 static struct led_info adp8860_leds[] = {
        {
                .name = "adp8860-led7",
index 510e559c060e597c5407bddb79a67f49cb4efaee..e7315bf14d60159c3cb3d0915797e8838cd7bc73 100644 (file)
@@ -18,7 +18,7 @@
 #include <linux/slab.h>
 #include <linux/workqueue.h>
 
-#include <linux/i2c/adp8860.h>
+#include <linux/platform_data/adp8860.h>
 #define ADP8860_EXT_FEATURES
 #define ADP8860_USE_LEDS