This driver needs <asm/ppc.h> when building on PowerPC, add it.

Signed-off-by: Tom Rini <tr...@konsulko.com>
---
 drivers/qe/qe.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c
index 736dd8558b60..9631337b8d9d 100644
--- a/drivers/qe/qe.c
+++ b/drivers/qe/qe.c
@@ -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
 
-- 
2.34.1

Reply via email to