summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-02-09 02:45:50 +0300
committerLinus Walleij <linus.walleij@linaro.org>2018-03-19 03:50:07 +0300
commit7275cb75b96f5cec924ea95685d906d09b6a82f4 (patch)
treedbf825bb8bff3f91be196bd128e158ee2d1eee4f /drivers/gpio
parentd90f2adee479ac885401ce77ad8493ec7d70fe97 (diff)
downloadlinux-7275cb75b96f5cec924ea95685d906d09b6a82f4.tar.xz
gpio: em: Use the right include
The Emma Mobile (EM) GPIO driver uses the too generic include <linux/gpio.h>. It is a driver so it should just use <linux/gpio/driver.h>. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/gpio-em.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-em.c b/drivers/gpio/gpio-em.c
index b86e09e1b13b..2b466b80e70a 100644
--- a/drivers/gpio/gpio-em.c
+++ b/drivers/gpio/gpio-em.c
@@ -27,7 +27,7 @@
#include <linux/irqdomain.h>
#include <linux/bitops.h>
#include <linux/err.h>
-#include <linux/gpio.h>
+#include <linux/gpio/driver.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pinctrl/consumer.h>