: add platform struct for ColdFire UART driver
Add platform support structure for use with new ColdFire UART driver.
Signed-off-by Greg Ungerer <[email protected]>
---
include/asm-m68knommu/mcfuart.h +10 -0
@@ -51,6 +50,16 @@#endif +#include <linux/serial_core.h> +#include <linux/platform_device.h> + +struct mcf_platform_uart { +unsigned long mapbase;/* Physical address base */ +void __iomem *membase;/* Virtual address if mapped */ +unsigned int irq;/* Interrupt vector */ +unsigned int uartclk;/* UART clock rate */ +}; +/* * Define the ColdFire UART register set addresses. */