diff options
author | Linus Walleij <[email protected]> | 2020-06-27 00:47:35 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-07-12 09:53:24 +0200 |
commit | 0987c7df8abce177437780eb983b785147dc058e (patch) | |
tree | f6dac5f6f97cfdbe8b839c6fa9c3e0ea001ac901 | |
parent | ac219bf3c9bdf9200767e8c98a56ad42c75e5cd5 (diff) |
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 <[email protected]>
Cc: Joel Stanley <[email protected]>
Cc: Matt Spinler <[email protected]>
Cc: Cédric Le Goater <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
-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> |