[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1407125156-14269-1-git-send-email-acourbot@nvidia.com>
Date: Mon, 4 Aug 2014 13:05:56 +0900
From: Alexandre Courbot <acourbot@...dia.com>
To: Linus Walleij <linus.walleij@...aro.org>
CC: Thierry Reding <treding@...dia.com>,
Stephen Rothwell <sfr@...b.auug.org.au>, <gnurou@...il.com>,
<linux-gpio@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Alexandre Courbot <acourbot@...dia.com>
Subject: [PATCH] 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@...b.auug.org.au>
Reported-by: Thierry Reding <treding@...dia.com>
Signed-off-by: Alexandre Courbot <acourbot@...dia.com>
---
include/linux/gpio/machine.h | 3 +++
1 file changed, 3 insertions(+)
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 @@
#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),
--
2.0.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists