summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-cs5535.c
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/gpio/gpio-cs5535.c
parent6ba40f875d12a8583a10b1c6996fc87a56ba8bdf (diff)
downloadlinux-stable-326a2926c900237ef2c67c3648ed5d64f4c6f090.tar.gz
linux-stable-326a2926c900237ef2c67c3648ed5d64f4c6f090.tar.bz2
linux-stable-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/gpio/gpio-cs5535.c')
-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>