* [PATCH] gpio: add missing includes in machine.h
@ 2014-08-04 4:05 Alexandre Courbot
2014-08-07 9:55 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Courbot @ 2014-08-04 4:05 UTC (permalink / raw)
To: Linus Walleij
Cc: Thierry Reding, Stephen Rothwell, gnurou, linux-gpio,
linux-kernel, Alexandre Courbot
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gpio: add missing includes in machine.h
2014-08-04 4:05 [PATCH] gpio: add missing includes in machine.h Alexandre Courbot
@ 2014-08-07 9:55 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2014-08-07 9:55 UTC (permalink / raw)
To: Alexandre Courbot
Cc: Thierry Reding, Stephen Rothwell, Alexandre Courbot,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
On Mon, Aug 4, 2014 at 6:05 AM, Alexandre Courbot <acourbot@nvidia.com> wrote:
> 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>
Patch applied, preparing for the v3.17 pull request.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-07 9:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-04 4:05 [PATCH] gpio: add missing includes in machine.h Alexandre Courbot
2014-08-07 9:55 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).