[PATCH] ARM: rockchip: add missing header to <mach/rockchip.h>
Sascha Hauer
sha at pengutronix.de
Mon Feb 20 23:43:44 PST 2023
On Tue, Feb 21, 2023 at 08:07:49AM +0100, Ahmad Fatoum wrote:
> The header uses error codes, so include the appropriate header.
>
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
> arch/arm/mach-rockchip/include/mach/rockchip.h | 2 ++
> 1 file changed, 2 insertions(+)
Applied, thanks
Sascha
>
> diff --git a/arch/arm/mach-rockchip/include/mach/rockchip.h b/arch/arm/mach-rockchip/include/mach/rockchip.h
> index ff8b1109f858..16a691ee8c0a 100644
> --- a/arch/arm/mach-rockchip/include/mach/rockchip.h
> +++ b/arch/arm/mach-rockchip/include/mach/rockchip.h
> @@ -3,6 +3,8 @@
> #ifndef __MACH_ROCKCHIP_H
> #define __MACH_ROCKCHIP_H
>
> +#include <errno.h>
> +
> #ifdef CONFIG_ARCH_RK3188
> int rk3188_init(void);
> #else
> --
> 2.38.3
>
>
>
--
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