leds: pca955x: Include the right GPIO header
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 26 Jun 2020 22:47:35 +0000 (00:47 +0200)
committerPavel Machek <pavel@ucw.cz>
Sun, 12 Jul 2020 07:53:24 +0000 (09:53 +0200)
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>
drivers/leds/leds-pca955x.c

index 4037c504589c186335c761ec1ff382a4f4e6087e..131f8e922adebe183060417ccde6c2d4a9d99227 100644 (file)
@@ -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>