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

Maxim Moskalets maximmosk4 at gmail.com
Mon May 13 18:59:16 CEST 2024


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



More information about the U-Boot mailing list