diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2019-08-08 15:20:20 +0200 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2019-08-08 20:38:24 +0200 |
commit | 3881a72f8d0657ca998b217d0a183974ea800401 (patch) | |
tree | 1cca06b813cd121ea50ba6d5dded5bc4d69858f0 /drivers/leds/leds-pca9532.c | |
parent | be7fc2cc86170bea31e1db8d596f35df52254971 (diff) | |
download | lwn-3881a72f8d0657ca998b217d0a183974ea800401.tar.gz lwn-3881a72f8d0657ca998b217d0a183974ea800401.zip |
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.c | 2 |
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> |