aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-htc-egpio.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-03-04 23:37:22 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-03-19 01:50:28 +0100
commitf63109f0cb40bca848eef9bf096dfdb7def5e20d (patch)
tree0d9162b3a6ff4c6f3d804fbc77f6ef3971b31d2b /drivers/gpio/gpio-htc-egpio.c
parentgpio: grgpio: Include the right header (diff)
downloadlinux-dev-f63109f0cb40bca848eef9bf096dfdb7def5e20d.tar.xz
linux-dev-f63109f0cb40bca848eef9bf096dfdb7def5e20d.zip
gpio: htc-gpio: Include the right header
This driver is a pure GPIO driver and should only include <linux/gpio/driver.h>. Drop the include of <linux/gpio.h> from the platform data header as well, it serves no purpose. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-htc-egpio.c')
-rw-r--r--drivers/gpio/gpio-htc-egpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/gpio-htc-egpio.c b/drivers/gpio/gpio-htc-egpio.c
index 271356effb2e..516383934945 100644
--- a/drivers/gpio/gpio-htc-egpio.c
+++ b/drivers/gpio/gpio-htc-egpio.c
@@ -18,6 +18,7 @@
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/init.h>
+#include <linux/gpio/driver.h>
struct egpio_chip {
int reg_start;