[PATCH 1/4] of: gpio: include <of.h> in <of_gpio.h>
Sascha Hauer
sha at pengutronix.de
Tue Jan 10 06:53:40 PST 2023
On Mon, Jan 09, 2023 at 04:58:33PM +0100, Ahmad Fatoum wrote:
> 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 at pengutronix.de>
> ---
> include/of_gpio.h | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks
Sascha
>
> 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
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list