[PATCH] arch: fix arch-rockchip/clock.h dependency

Tom Rini trini at konsulko.com
Mon May 13 19:52:07 CEST 2024


On Mon, May 13, 2024 at 07:59:16PM +0300, Maxim Moskalets wrote:

> This header uses u32 and should include header with this typedef.
> 
> Signed-off-by: Maxim Moskalets <maximmosk4 at gmail.com>
> ---
>  arch/arm/include/asm/arch-rockchip/clock.h | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/arch/arm/include/asm/arch-rockchip/clock.h b/arch/arm/include/asm/arch-rockchip/clock.h
> index f01c5aeb71..ade53e6fd9 100644
> --- a/arch/arm/include/asm/arch-rockchip/clock.h
> +++ b/arch/arm/include/asm/arch-rockchip/clock.h
> @@ -6,6 +6,8 @@
>  #ifndef _ASM_ARCH_CLOCK_H
>  #define _ASM_ARCH_CLOCK_H
>  
> +#include <common.h>
> +
>  struct udevice;
>  
>  /* define pll mode */

NAK. In the -next branch, common.h has been removed. If this header
needs type information it should include <linux/types.h> directly.
Please check the next branch as well as I may have already added it
there.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20240513/90da1aeb/attachment.sig>


More information about the U-Boot mailing list