#include <linux/device.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/serial_8250.h>
#include <linux/serial_core.h>
#include <linux/serial_reg.h>
#include <linux/of.h>
#include <linux/of_platform.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/clk.h>
#include "8250.h"
struct pxa8250_data { … };
static int __maybe_unused serial_pxa_suspend(struct device *dev)
{ … }
static int __maybe_unused serial_pxa_resume(struct device *dev)
{ … }
static const struct dev_pm_ops serial_pxa_pm_ops = …;
static const struct of_device_id serial_pxa_dt_ids[] = …;
MODULE_DEVICE_TABLE(of, serial_pxa_dt_ids);
static void serial_pxa_dl_write(struct uart_8250_port *up, u32 value)
{ … }
static void serial_pxa_pm(struct uart_port *port, unsigned int state,
unsigned int oldstate)
{ … }
static int serial_pxa_probe(struct platform_device *pdev)
{ … }
static void serial_pxa_remove(struct platform_device *pdev)
{ … }
static struct platform_driver serial_pxa_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;
MODULE_ALIAS(…) …;