diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 16:07:09 -0500 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-01-13 16:07:09 -0500 |
commit | 91f6a4afd1227f3806ca310b0a9c101c021ac6c5 (patch) | |
tree | 94bff477ad52b1d73186a195fbe201826639610a | |
parent | a603a2b8d86ee93ee2107da8ca75fd854fd4ff32 (diff) |
gpio: 74x174: Include proper headers
This driver has no business including <linux/gpio.h> or
<linux/of_gpio.h>. Cut them and include <linux/gpio/driver.h>
and <linux/gpio/consumer.h> which is it they really needs.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
-rw-r--r-- | drivers/gpio/gpio-74x164.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-74x164.c b/drivers/gpio/gpio-74x164.c index 6b535ec858cc..3c25f504a784 100644 --- a/drivers/gpio/gpio-74x164.c +++ b/drivers/gpio/gpio-74x164.c | |||
@@ -9,12 +9,11 @@ | |||
9 | * published by the Free Software Foundation. | 9 | * published by the Free Software Foundation. |
10 | */ | 10 | */ |
11 | 11 | ||
12 | #include <linux/gpio/consumer.h> | ||
13 | #include <linux/init.h> | 12 | #include <linux/init.h> |
14 | #include <linux/mutex.h> | 13 | #include <linux/mutex.h> |
15 | #include <linux/spi/spi.h> | 14 | #include <linux/spi/spi.h> |
16 | #include <linux/gpio.h> | 15 | #include <linux/gpio/driver.h> |
17 | #include <linux/of_gpio.h> | 16 | #include <linux/gpio/consumer.h> |
18 | #include <linux/slab.h> | 17 | #include <linux/slab.h> |
19 | #include <linux/module.h> | 18 | #include <linux/module.h> |
20 | 19 | ||