]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
qe: Add <asm/ppc.h> on PowerPC
authorTom Rini <trini@konsulko.com>
Wed, 1 Nov 2023 16:28:13 +0000 (12:28 -0400)
committerTom Rini <trini@konsulko.com>
Tue, 7 Nov 2023 19:50:51 +0000 (14:50 -0500)
This driver needs <asm/ppc.h> when building on PowerPC, add it.

Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/qe/qe.c

index 736dd8558b60414344654e629c1992448b1619db..9631337b8d9df2b68e08b9babd697829e89c7106 100644 (file)
@@ -23,6 +23,9 @@
 #include <asm/armv8/mmu.h>
 #include <asm/arch/cpu.h>
 #endif
+#ifdef CONFIG_PPC
+#include <asm/ppc.h>
+#endif
 
 #define MPC85xx_DEVDISR_QE_DISABLE     0x1