gpio: add missing includes in machine.h
authorAlexandre Courbot <acourbot@nvidia.com>
Mon, 4 Aug 2014 04:05:56 +0000 (13:05 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 7 Aug 2014 09:54:51 +0000 (11:54 +0200)
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>
include/linux/gpio/machine.h

index b8ad87fab4ce92ef0ef023d016c97e4c2c192d13..e2706140eafffe99017f175b564ef219b2d5fa0d 100644 (file)
@@ -1,6 +1,9 @@
 #ifndef __LINUX_GPIO_MACHINE_H
 #define __LINUX_GPIO_MACHINE_H
 
+#include <linux/types.h>
+#include <linux/list.h>
+
 enum gpio_lookup_flags {
        GPIO_ACTIVE_HIGH = (0 << 0),
        GPIO_ACTIVE_LOW = (1 << 0),