#include <linux/module.h>
#include <linux/errno.h>
#include <linux/io.h>
#include <linux/platform_device.h>
#include "8250.h"
#define IOC3_UARTCLK …
struct ioc3_8250_data { … };
static unsigned int ioc3_serial_in(struct uart_port *p, int offset)
{ … }
static void ioc3_serial_out(struct uart_port *p, int offset, int value)
{ … }
static int serial8250_ioc3_probe(struct platform_device *pdev)
{ … }
static void serial8250_ioc3_remove(struct platform_device *pdev)
{ … }
static struct platform_driver serial8250_ioc3_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;