[PATCH v2 21/23] serial: ucc_uart.c: explicitly include asm/cpm.h
Rasmus Villemoes
linux at rasmusvillemoes.dk
Fri Oct 25 23:40:56 AEDT 2019
This driver uses #defines from asm/cpm.h, so instead of relying on
some other header pulling that in, do that explicitly.
Signed-off-by: Rasmus Villemoes <linux at rasmusvillemoes.dk>
---
drivers/tty/serial/ucc_uart.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c
index a0555ae2b1ef..e2c998badf81 100644
--- a/drivers/tty/serial/ucc_uart.c
+++ b/drivers/tty/serial/ucc_uart.c
@@ -33,6 +33,7 @@
#include <linux/firmware.h>
#include <asm/reg.h>
+#include <asm/cpm.h>
/*
* The GUMR flag for Soft UART. This would normally be defined in qe.h,
--
2.23.0
More information about the Linuxppc-dev
mailing list