[PATCH 09/10] ARM: psci: make header self contained
Sascha Hauer
s.hauer at pengutronix.de
Tue Jan 9 01:16:02 PST 2024
arch/arm/include/asm/psci.h uses struct device_node, so include of.h
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/include/asm/psci.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h
index dbb9adfc3e..f8fc2a8471 100644
--- a/arch/arm/include/asm/psci.h
+++ b/arch/arm/include/asm/psci.h
@@ -6,6 +6,8 @@
#ifndef __ARM_PSCI_H__
#define __ARM_PSCI_H__
+#include <of.h>
+
#define ARM_PSCI_VER(major, minor) (((major) << 16) | (minor))
#define ARM_PSCI_VER_1_0 ARM_PSCI_VER(1,0)
#define ARM_PSCI_VER_0_2 ARM_PSCI_VER(0,2)
--
2.39.2
More information about the barebox
mailing list