diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-02-09 00:45:50 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-03-19 01:50:07 +0100 |
commit | 7275cb75b96f5cec924ea95685d906d09b6a82f4 (patch) | |
tree | dbf825bb8bff3f91be196bd128e158ee2d1eee4f /drivers/gpio | |
parent | gpio: ge: Drop of_gpio.h include (diff) | |
download | linux-7275cb75b96f5cec924ea95685d906d09b6a82f4.tar.xz linux-7275cb75b96f5cec924ea95685d906d09b6a82f4.zip |
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.c | 2 |
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> |