diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2020-06-27 01:47:35 +0300 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-07-12 10:53:24 +0300 |
commit | 0987c7df8abce177437780eb983b785147dc058e (patch) | |
tree | f6dac5f6f97cfdbe8b839c6fa9c3e0ea001ac901 /drivers/leds/leds-pca955x.c | |
parent | ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 (diff) | |
download | linux-0987c7df8abce177437780eb983b785147dc058e.tar.xz |
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/leds-pca955x.c')
-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> |