mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h>
@ 2023-01-09 15:58 Ahmad Fatoum
  2023-01-09 15:58 ` [PATCH 2/4] gpiolib: use signed int for gpio in gpiod_set_value Ahmad Fatoum
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ahmad Fatoum @ 2023-01-09 15:58 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-10 14:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09 15:58 [PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h> Ahmad Fatoum
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox