Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Linus Walleij and committed by
Pavel Machek
ca995226 cb60e2f9

+1 -1
+1 -1
drivers/leds/leds-tca6507.c
··· 93 93 #include <linux/leds.h> 94 94 #include <linux/err.h> 95 95 #include <linux/i2c.h> 96 - #include <linux/gpio.h> 96 + #include <linux/gpio/driver.h> 97 97 #include <linux/workqueue.h> 98 98 #include <linux/leds-tca6507.h> 99 99 #include <linux/of.h>