Skip to contentSkip to conversation

arch: fix arch-rockchip/clock.h dependency

PATCH In review Maxim Moskalets 2 participants 2 messages May 13, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arch: fix arch-rockchip/clock.h dependency

This header uses u32 and should include header with this typedef.

---
 arch/arm/include/asm/arch-rockchip/clock.h | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/include/asm/arch-rockchip/clock.h +2 -0
index f01c5aeb71..ade53e6fd9 100644
@@ -6,6 +6,8 @@
 #ifndef _ASM_ARCH_CLOCK_H
 #define _ASM_ARCH_CLOCK_H
 
+#include <common.h>
+
 struct udevice;
 
 /* define pll mode */
Signature · 1 line
2.39.2
#1 lore raw
Quoted 12 lines · Maxim Moskalets

This header uses u32 and should include header with this typedef.

---
 arch/arm/include/asm/arch-rockchip/clock.h | 2 ++
 1 file changed, 2 insertions(+)
arch/arm/include/asm/arch-rockchip/clock.h +0 -0
index f01c5aeb71..ade53e6fd9 100644

arch/arm/include/asm/arch-rockchip/clock.h line 13

Quoted 8 lines
arch/arm/include/asm/arch-rockchip/clock.h +2 -0
@@ -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.

Signature · 1 line
Tom