mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <r.hieber@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Roland Hieber <r.hieber@pengutronix.de>
Subject: [PATCH 3/4] gpio: fix missing includes for bool and struct list_head
Date: Mon, 30 Jul 2018 13:14:36 +0200	[thread overview]
Message-ID: <20180730111437.23453-3-r.hieber@pengutronix.de> (raw)
In-Reply-To: <20180730111437.23453-1-r.hieber@pengutronix.de>

Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
---
 include/gpio.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/gpio.h b/include/gpio.h
index f5262aac42..e42fa23383 100644
--- a/include/gpio.h
+++ b/include/gpio.h
@@ -1,6 +1,9 @@
 #ifndef __GPIO_H
 #define __GPIO_H
 
+#include <linux/types.h>
+#include <linux/list.h>
+
 #ifdef CONFIG_GENERIC_GPIO
 void gpio_set_value(unsigned gpio, int value);
 int gpio_get_value(unsigned gpio);
-- 
2.18.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2018-07-30 11:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-30 11:14 [PATCH 1/4] ARM: i.MX: HAB: fix missing include for EPERM Roland Hieber
2018-07-30 11:14 ` [PATCH 2/4] ARM: i.MX: OCOTP: fix missing include for uint32_t etc Roland Hieber
2018-07-30 11:14 ` Roland Hieber [this message]
2018-07-30 11:14 ` [PATCH 4/4] linux/types.h: fix missing include for BITS_TO_LONGS() Roland Hieber
2018-08-09 19:38   ` Sascha Hauer
2018-08-09 21:32     ` Roland Hieber
2018-08-08  7:07 ` [PATCH 1/4] ARM: i.MX: HAB: fix missing include for EPERM Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180730111437.23453-3-r.hieber@pengutronix.de \
    --to=r.hieber@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox