Skip to content

Commit ca99522

Browse files
linuswpavelmachek
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 <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent cb60e2f commit ca99522

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)