serial: 8250: fix null-ptr-deref in serial8250_start_tx()
[linux/fpc-iii.git] / drivers / tty / serial / 8250 / 8250_dwlib.h
blob9a12953832d395f2c285a95df18bdedd540d734e
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Synopsys DesignWare 8250 library header file. */
4 #include <linux/types.h>
6 #include "8250.h"
8 struct dw8250_port_data {
9 /* Port properties */
10 int line;
12 /* DMA operations */
13 struct uart_8250_dma dma;
15 /* Hardware configuration */
16 u8 dlf_size;
19 void dw8250_setup_port(struct uart_port *p);