diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-08-26 10:09:17 +0300 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-09-08 14:30:02 +0300 |
commit | a47a2b98f341679807e6c64b520391f3630e8804 (patch) | |
tree | d5c043423f8d52eb7b8f9432fbad348ebf2cd8d5 /drivers/video | |
parent | 5317f37e48b953be94bfdbb6474542363467c37e (diff) | |
download | linux-a47a2b98f341679807e6c64b520391f3630e8804.tar.xz |
backlight: tosa_lcd: Include the right header
The Tosa backlight LCDE 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')
-rw-r--r-- | drivers/video/backlight/tosa_lcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c index 113116d3585c..38765544345b 100644 --- a/drivers/video/backlight/tosa_lcd.c +++ b/drivers/video/backlight/tosa_lcd.c @@ -12,7 +12,7 @@ #include <linux/spi/spi.h> #include <linux/i2c.h> #include <linux/slab.h> -#include <linux/gpio.h> +#include <linux/gpio/consumer.h> #include <linux/delay.h> #include <linux/lcd.h> #include <linux/fb.h> |