aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/gpio
diff options
context:
space:
mode:
authorAlexandre Courbot <acourbot@nvidia.com>2014-08-04 00:05:56 -0400
committerLinus Walleij <linus.walleij@linaro.org>2014-08-07 05:54:51 -0400
commitb3ea074fd3c798bee861aa076dc2f873461ae26f (patch)
treefb35faecb3f79bfe9168785627f1e2a4ba19892e /include/linux/gpio
parent39b2bbe3d715cf5013b5c48695ccdd25bd3bf120 (diff)
gpio: add missing includes in machine.h
linux/types.h and linux/list.h should be included so the typed used in the header file are always properly declared. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Reported-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/gpio')
-rw-r--r--include/linux/gpio/machine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/gpio/machine.h b/include/linux/gpio/machine.h
index b8ad87fab4ce..e2706140eaff 100644
--- a/include/linux/gpio/machine.h
+++ b/include/linux/gpio/machine.h
@@ -1,6 +1,9 @@
1#ifndef __LINUX_GPIO_MACHINE_H 1#ifndef __LINUX_GPIO_MACHINE_H
2#define __LINUX_GPIO_MACHINE_H 2#define __LINUX_GPIO_MACHINE_H
3 3
4#include <linux/types.h>
5#include <linux/list.h>
6
4enum gpio_lookup_flags { 7enum gpio_lookup_flags {
5 GPIO_ACTIVE_HIGH = (0 << 0), 8 GPIO_ACTIVE_HIGH = (0 << 0),
6 GPIO_ACTIVE_LOW = (1 << 0), 9 GPIO_ACTIVE_LOW = (1 << 0),