tty: serial: Prepare cleanup of powerpc's asm/prom.h
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Sat, 2 Apr 2022 10:20:19 +0000 (12:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Apr 2022 06:42:29 +0000 (08:42 +0200)
powerpc's asm/prom.h brings some headers that it doesn't
need itself.

In order to clean it up, first add missing headers in
users of asm/prom.h

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Link: https://lore.kernel.org/r/49fc0d4b6446da630b1e9f29c4bab38f8ed087bf.1648833419.git.christophe.leroy@csgroup.eu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/cpm_uart/cpm_uart_cpm2.c
drivers/tty/serial/mpc52xx_uart.c
drivers/tty/serial/pmac_zilog.c

index 6a1cd03bfe396386b878f846ede4429234e6b006..108af254e8f30342edcba64d4095478c18c2d13e 100644 (file)
@@ -25,7 +25,6 @@
 #include <asm/io.h>
 #include <asm/irq.h>
 #include <asm/fs_pd.h>
-#include <asm/prom.h>
 
 #include <linux/serial_core.h>
 #include <linux/kernel.h>
index c4b590dd6f2330cd069a44d383aa69c335a1608d..e50f069b5ebbc6418d94e8c33331c9a16dae8923 100644 (file)
@@ -38,6 +38,8 @@
 #include <linux/delay.h>
 #include <linux/io.h>
 #include <linux/of.h>
+#include <linux/of_address.h>
+#include <linux/of_irq.h>
 #include <linux/of_platform.h>
 #include <linux/clk.h>
 
index 5d97c201ad881ffbca89551852a8e4878e55cd65..c903085acb8d0f400aadfe3672831d932828fcef 100644 (file)
@@ -51,7 +51,6 @@
 #include <asm/irq.h>
 
 #ifdef CONFIG_PPC_PMAC
-#include <asm/prom.h>
 #include <asm/machdep.h>
 #include <asm/pmac_feature.h>
 #include <asm/dbdma.h>