diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2023-01-09 16:58:33 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2023-01-10 15:53:29 +0100 |
commit | b0935828445ba148cc19f5cea284e8e962f020da (patch) | |
tree | fab7660df46a46123c3cc58a0bc1d1448318960d | |
parent | 19acf8665af7edfab7af26494a33250d6eb891ec (diff) | |
download | barebox-b0935828445ba148cc19f5cea284e8e962f020da.tar.gz barebox-b0935828445ba148cc19f5cea284e8e962f020da.tar.xz |
of: gpio: include <of.h> in <of_gpio.h>
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>
Link: https://lore.barebox.org/20230109155836.2220277-1-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | include/of_gpio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/of_gpio.h b/include/of_gpio.h index 9076c81e54..30ff204baf 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 |