diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/of/gpio.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/of/gpio.c b/drivers/of/gpio.c index 09f05a178668..905960338fb2 100644 --- a/drivers/of/gpio.c +++ b/drivers/of/gpio.c | |||
@@ -11,13 +11,14 @@ | |||
11 | * (at your option) any later version. | 11 | * (at your option) any later version. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <linux/kernel.h> | 14 | #include <linux/device.h> |
15 | #include <linux/errno.h> | 15 | #include <linux/errno.h> |
16 | #include <linux/module.h> | ||
16 | #include <linux/io.h> | 17 | #include <linux/io.h> |
17 | #include <linux/of.h> | 18 | #include <linux/of.h> |
18 | #include <linux/slab.h> | 19 | #include <linux/of_address.h> |
19 | #include <linux/of_gpio.h> | 20 | #include <linux/of_gpio.h> |
20 | #include <asm/prom.h> | 21 | #include <linux/slab.h> |
21 | 22 | ||
22 | /** | 23 | /** |
23 | * of_get_gpio_flags - Get a GPIO number and flags to use with GPIO API | 24 | * of_get_gpio_flags - Get a GPIO number and flags to use with GPIO API |