summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-pca9532.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2019-08-08 16:20:20 +0300
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-08-08 21:38:24 +0300
commit3881a72f8d0657ca998b217d0a183974ea800401 (patch)
tree1cca06b813cd121ea50ba6d5dded5bc4d69858f0 /drivers/leds/leds-pca9532.c
parentbe7fc2cc86170bea31e1db8d596f35df52254971 (diff)
downloadlinux-3881a72f8d0657ca998b217d0a183974ea800401.tar.xz
leds: pca953x: Include the right header
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>
Diffstat (limited to 'drivers/leds/leds-pca9532.c')
-rw-r--r--drivers/leds/leds-pca9532.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c
index 290871072d65..c7c7199e8ebd 100644
--- 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>