From: Jiri Slaby Date: Mon, 24 Jan 2022 07:14:21 +0000 (+0100) Subject: serial: atmel_serial: include circ_buf.h X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=702d10a0897744cff4e2f53d61c4fc49ac29551d;p=linux.git serial: atmel_serial: include circ_buf.h atmel_uart_port::rx_ring is defined as struct circ_buf, but circ_buf.h is not included explicitly in atmel_serial.c. It is included only implicitly via serial_core.h. Fix this as serial_core.h might not include that header in the future. Signed-off-by:Jiri Slaby Cc: Richard Genoud Cc: Nicolas Ferre Cc: Alexandre Belloni Cc: Ludovic Desroches Acked-by: Richard Genoud Signed-off-by: Richard Genoud Link: https://lore.kernel.org/r/20220124071430.14907-3-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c index c370eddc651b4..2d09a89974a22 100644 --- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -8,6 +8,7 @@ * * DMA support added by Chip Coldwell. */ +#include #include #include #include