[PATCH v1 2/6] powerpc: Don't include asm/prom.h in asm/parport.h

From: Christophe Leroy
Date: Tue Mar 08 2022 - 14:20:55 EST


parport.h needs only of_irq.h, no need to go via asm/prom.h

Signed-off-by: Christophe Leroy <christophe.leroy@xxxxxxxxxx>
---
arch/powerpc/include/asm/parport.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/powerpc/include/asm/parport.h b/arch/powerpc/include/asm/parport.h
index 8abfb8f7c33d..42cc321ed754 100644
--- a/arch/powerpc/include/asm/parport.h
+++ b/arch/powerpc/include/asm/parport.h
@@ -11,7 +11,7 @@
#define _ASM_POWERPC_PARPORT_H
#ifdef __KERNEL__

-#include <asm/prom.h>
+#include <linux/of_irq.h>

static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
{
--
2.34.1