mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
backlight: adp8860: 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> 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>
This commit is contained in:
parent
7e715c2d9c
commit
8476d6cde2
@ -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",
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user