Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc: Don't include asm/prom.h in asm/parport.h

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

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/ec796ee56cf61f16ba24e62a9d3525d11931538c.1646767214.git.christophe.leroy@csgroup.eu

authored by

Christophe Leroy and committed by
Michael Ellerman
07071346 0aa297e7

+1 -1
+1 -1
arch/powerpc/include/asm/parport.h
··· 11 11 #define _ASM_POWERPC_PARPORT_H 12 12 #ifdef __KERNEL__ 13 13 14 - #include <asm/prom.h> 14 + #include <linux/of_irq.h> 15 15 16 16 static int parport_pc_find_nonpci_ports (int autoirq, int autodma) 17 17 {