linux_dsm_epyc7002/drivers/tty/serial/8250/8250_dwlib.h
Andy Shevchenko 136e0ab99b serial: 8250_dw: split Synopsys DesignWare 8250 common functions
We would like to use same functions in the couple of drivers for
Synopsys DesignWare 8250 UART. Split them from 8250_dw into new brand
library module which users will select explicitly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20190806094322.64987-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-09-04 12:43:52 +02:00

20 lines
343 B
C

// SPDX-License-Identifier: GPL-2.0+
/* Synopsys DesignWare 8250 library header file. */
#include <linux/types.h>
#include "8250.h"
struct dw8250_port_data {
/* Port properties */
int line;
/* DMA operations */
struct uart_8250_dma dma;
/* Hardware configuration */
u8 dlf_size;
};
void dw8250_setup_port(struct uart_port *p);