Re: [PATCH] ARM: rockchip: add missing header to <mach/rockchip.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
> ---
>  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 |




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux