diff mbox series

arch: fix arch-rockchip/clock.h dependency

Message ID 20240513165916.24259-1-Maxim.Moskalets@kaspersky.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series arch: fix arch-rockchip/clock.h dependency | expand

Commit Message

Maxim Moskalets May 13, 2024, 4:59 p.m. UTC
This header uses u32 and should include header with this typedef.

Signed-off-by: Maxim Moskalets <maximmosk4@gmail.com>
---
 arch/arm/include/asm/arch-rockchip/clock.h | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini May 13, 2024, 5:52 p.m. UTC | #1
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@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.
diff mbox series

Patch

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 */