#include <linux/module.h>
#include <linux/io.h>
#include <linux/init.h>
#include <linux/console.h>
#include <linux/serial.h>
#include <linux/serial_8250.h>
#include "8250.h"
#define RT288X_DL …
static const u8 au_io_in_map[7] = …;
static const u8 au_io_out_map[5] = …;
static unsigned int au_serial_in(struct uart_port *p, int offset)
{ … }
static void au_serial_out(struct uart_port *p, int offset, int value)
{ … }
static u32 au_serial_dl_read(struct uart_8250_port *up)
{ … }
static void au_serial_dl_write(struct uart_8250_port *up, u32 value)
{ … }
int au_platform_setup(struct plat_serial8250_port *p)
{ … }
EXPORT_SYMBOL_GPL(…);
int rt288x_setup(struct uart_port *p)
{ … }
EXPORT_SYMBOL_GPL(…);
#ifdef CONFIG_SERIAL_8250_CONSOLE
static void au_putc(struct uart_port *port, unsigned char c)
{ … }
static void au_early_serial8250_write(struct console *console,
const char *s, unsigned int count)
{ … }
static int __init early_au_setup(struct earlycon_device *dev, const char *opt)
{ … }
OF_EARLYCON_DECLARE(…);
#endif
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;