summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-01-14 01:56:24 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-01-14 01:56:24 +0100
commit326a2926c900237ef2c67c3648ed5d64f4c6f090 (patch)
tree9f4d23c63c82108bef5386f799ab8bc87d8cbc22 /drivers
parentgpio: crystalcove: Include proper header (diff)
downloadlinux-326a2926c900237ef2c67c3648ed5d64f4c6f090.tar.xz
linux-326a2926c900237ef2c67c3648ed5d64f4c6f090.zip
gpio: cs5535: Include proper header
This driver has no business including <linux/gpio.h>, it is a driver so include <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpio/gpio-cs5535.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-cs5535.c b/drivers/gpio/gpio-cs5535.c
index 90278b19aa0e..8814c8f47e57 100644
--- a/drivers/gpio/gpio-cs5535.c
+++ b/drivers/gpio/gpio-cs5535.c
@@ -12,7 +12,7 @@
#include <linux/spinlock.h>
#include <linux/module.h>
#include <linux/platform_device.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/io.h>
#include <linux/cs5535.h>
#include <asm/msr.h>