diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-08-26 10:05:40 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-09-08 14:31:19 +0300 |
commit | 97ecfda1a8ffc5ffc9681d0dfa65fd5b39839dfe (patch) | |
tree | 79537c6d2e7ebc90d45327e5a39875ff5310b010 /drivers/video/backlight | |
parent | a47a2b98f341679807e6c64b520391f3630e8804 (diff) | |
download | linux-97ecfda1a8ffc5ffc9681d0dfa65fd5b39839dfe.tar.xz |
backlight: tosa_bl: Include the right header
The Tosa backlight driver was converted to use GPIO descriptors
in 0b0cb52bd80eda76c4b9921f5cf9c1b709d44e83
("video: backlight: tosa: Use GPIO lookup table") but
still includes <linux/gpio.h> rather than <linux/gpio/consumer.h>.
Fix it.
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r-- | drivers/video/backlight/tosa_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c index cff5e96fd988..6df6fcd132e3 100644 --- a/drivers/video/backlight/tosa_bl.c +++ b/drivers/video/backlight/tosa_bl.c @@ -11,7 +11,7 @@ #include <linux/device.h> #include <linux/spi/spi.h> #include <linux/i2c.h> -#include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/fb.h> #include <linux/backlight.h> #include <linux/slab.h> |