diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-06-27 00:47:35 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-12 09:53:24 +0200 |
commit | 0987c7df8abce177437780eb983b785147dc058e (patch) | |
tree | f6dac5f6f97cfdbe8b839c6fa9c3e0ea001ac901 /drivers/leds | |
parent | leds: lp55xx: Convert to use GPIO descriptors (diff) | |
download | linux-0987c7df8abce177437780eb983b785147dc058e.tar.xz linux-0987c7df8abce177437780eb983b785147dc058e.zip |
leds: pca955x: Include the right GPIO header
This driver provides a GPIO chip, so include <linux/gpio/driver.h>
and not the legacy <linux/gpio.h> header.
Cc: Andrew Jeffery <andrew@aj.id.au>
Cc: Joel Stanley <joel@jms.id.au>
Cc: Matt Spinler <mspinler@linux.vnet.ibm.com>
Cc: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/leds-pca955x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca955x.c b/drivers/leds/leds-pca955x.c index 4037c504589c..131f8e922ade 100644 --- a/drivers/leds/leds-pca955x.c +++ b/drivers/leds/leds-pca955x.c @@ -40,7 +40,7 @@ #include <linux/ctype.h> #include <linux/delay.h> #include <linux/err.h> -#include <linux/gpio.h> +#include <linux/gpio/driver.h> #include <linux/i2c.h> #include <linux/leds.h> #include <linux/module.h> |