leds: tca6507: Include the right header
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Apr 2020 15:08:37 +0000 (17:08 +0200)
committerPavel Machek <pavel@ucw.cz>
Fri, 17 Apr 2020 12:49:22 +0000 (14:49 +0200)
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>
drivers/leds/leds-tca6507.c

index 58be20cae18359b769796d29347e053145c43139..1128ac75443c0489d1639eaeb04c058902321aa5 100644 (file)
@@ -93,7 +93,7 @@
 #include <linux/leds.h>
 #include <linux/err.h>
 #include <linux/i2c.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
 #include <linux/workqueue.h>
 #include <linux/leds-tca6507.h>
 #include <linux/of.h>