WSL2-Linux-Kernel/drivers/tty/serial/cpm_uart
Jiri Slaby ee160a38ee TTY: serial, fix includes in some drivers
linux/tty_flip.h is included in linux/serial_core.h. But this may (and
will) change in the future. Then we would get build errors such as:
.../tty/serial/max3107.c: In function ‘put_data_to_circ_buf’:
.../tty/serial/max3107.c:149:2: error: implicit declaration of function ‘tty_insert_flip_string’

So fix all the drviers which call tty flip buffer helpers to really
include linux/tty_flip.h. And also make sure that those include
linux/tty.h when operating with struct tty_struct.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-22 15:49:26 -07:00
..
Makefile tty: move drivers/serial/ to drivers/tty/serial/ 2011-01-13 12:10:18 -08:00
cpm_uart.h tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
cpm_uart_core.c TTY: serial, fix includes in some drivers 2011-09-22 15:49:26 -07:00
cpm_uart_cpm1.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
cpm_uart_cpm1.h tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
cpm_uart_cpm2.c tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00
cpm_uart_cpm2.h tty: remove invalid location line in file header 2011-04-19 16:33:36 -07:00