diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-10-24 04:03:56 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-24 05:45:44 +0200 |
commit | 99dc736fb3c7462597adaf72cd801b52c6c4ced1 (patch) | |
tree | 39f2477b8684ddd63c6825b8ea5298c25cc41adf /include/asm-m68knommu/mcfuart.h | |
parent | m68knommu: mark mem init functions as __init (diff) | |
download | linux-99dc736fb3c7462597adaf72cd801b52c6c4ced1.tar.xz linux-99dc736fb3c7462597adaf72cd801b52c6c4ced1.zip |
m68knommu: add platform struct for ColdFire UART driver
Add platform support structure for use with new ColdFire UART driver.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-m68knommu/mcfuart.h')
-rw-r--r-- | include/asm-m68knommu/mcfuart.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-m68knommu/mcfuart.h b/include/asm-m68knommu/mcfuart.h index dc0146c5258b..873d0805219c 100644 --- a/include/asm-m68knommu/mcfuart.h +++ b/include/asm-m68knommu/mcfuart.h @@ -51,6 +51,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. */ |