From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h>
Date: Mon, 9 Jan 2023 16:58:33 +0100 [thread overview]
Message-ID: <20230109155836.2220277-1-a.fatoum@pengutronix.de> (raw)
This header can't be used without types and functions declared in of.h,
so include that first.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
include/of_gpio.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/of_gpio.h b/include/of_gpio.h
index 9076c81e5462..30ff204baf9e 100644
--- a/include/of_gpio.h
+++ b/include/of_gpio.h
@@ -8,6 +8,8 @@
#ifndef __OF_GPIO_H
#define __OF_GPIO_H
+#include <of.h>
+
/*
* This is Linux-specific flags. By default controllers' and Linux' mapping
* match, but GPIO controllers are free to translate their own flags to
--
2.30.2
next reply other threads:[~2023-01-09 16:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 15:58 Ahmad Fatoum [this message]
2023-01-09 15:58 ` [PATCH 2/4] gpiolib: use signed int for gpio in gpiod_set_value Ahmad Fatoum
2023-01-09 15:58 ` [PATCH 3/4] gpiolib: implement dev_gpiod_get_index Ahmad Fatoum
2023-01-09 15:58 ` [PATCH 4/4] gpiolib: implement gpiod_get_value Ahmad Fatoum
2023-01-10 14:53 ` [PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h> 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=20230109155836.2220277-1-a.fatoum@pengutronix.de \
--to=a.fatoum@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