Skip to content

Commit ca99522

Browse files
Linus Walleijpavelmachek
authored andcommitted
leds: tca6507: Include the right header
The TCA6507 optionally presents a GPIO controller, so include <linux/gpio/driver.h> instead of the legacy <linux/gpio.h>. Cc: NeilBrown <neilb@suse.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
1 parent cb60e2f commit ca99522

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/leds/leds-tca6507.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
#include <linux/leds.h>
9494
#include <linux/err.h>
9595
#include <linux/i2c.h>
96-
#include <linux/gpio.h>
96+
#include <linux/gpio/driver.h>
9797
#include <linux/workqueue.h>
9898
#include <linux/leds-tca6507.h>
9999
#include <linux/of.h>

0 commit comments

Comments
 (0)