summaryrefslogtreecommitdiffstats
path: root/drivers/gpio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-02-09 00:45:50 +0100
committerLinus Walleij <linus.walleij@linaro.org>2018-03-19 01:50:07 +0100
commit7275cb75b96f5cec924ea95685d906d09b6a82f4 (patch)
treedbf825bb8bff3f91be196bd128e158ee2d1eee4f /drivers/gpio
parentd90f2adee479ac885401ce77ad8493ec7d70fe97 (diff)
downloadop-kernel-dev-7275cb75b96f5cec924ea95685d906d09b6a82f4.zip
op-kernel-dev-7275cb75b96f5cec924ea95685d906d09b6a82f4.tar.gz
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 b86e09e..2b466b8 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>
OpenPOWER on IntegriCloud