projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be7fc2c
)
leds: pca953x: Include the right header
author
Linus Walleij
<linus.walleij@linaro.org>
Thu, 8 Aug 2019 13:20:20 +0000
(15:20 +0200)
committer
Jacek Anaszewski
<jacek.anaszewski@gmail.com>
Thu, 8 Aug 2019 18:38:24 +0000
(20:38 +0200)
This LED chip provides a GPIO driver, so include
<linux/gpio/driver.h> rather than the legacy header
<linux/gpio.h>.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
drivers/leds/leds-pca9532.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-pca9532.c
b/drivers/leds/leds-pca9532.c
index
2908710
..
c7c7199
100644
(file)
--- a/
drivers/leds/leds-pca9532.c
+++ b/
drivers/leds/leds-pca9532.c
@@
-16,7
+16,7
@@
#include <linux/mutex.h>
#include <linux/workqueue.h>
#include <linux/leds-pca9532.h>
-#include <linux/gpio.h>
+#include <linux/gpio
/driver
.h>
#include <linux/of.h>
#include <linux/of_device.h>