Skip to content

Commit 97ecfda

Browse files
Linus WalleijLee Jones
authored andcommitted
backlight: tosa_bl: Include the right header
The Tosa backlight driver was converted to use GPIO descriptors in 0b0cb52 ("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>
1 parent a47a2b9 commit 97ecfda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/video/backlight/tosa_bl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <linux/device.h>
1212
#include <linux/spi/spi.h>
1313
#include <linux/i2c.h>
14-
#include <linux/gpio.h>
14+
#include <linux/gpio/consumer.h>
1515
#include <linux/fb.h>
1616
#include <linux/backlight.h>
1717
#include <linux/slab.h>

0 commit comments

Comments
 (0)