mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 10:55:21 +07:00
136e0ab99b
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>
20 lines
343 B
C
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);
|