diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-10-24 06:03:56 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-24 07:45:44 +0400 |
commit | 99dc736fb3c7462597adaf72cd801b52c6c4ced1 (patch) | |
tree | 39f2477b8684ddd63c6825b8ea5298c25cc41adf /include/asm-m68knommu | |
parent | f386c3ccf65c24e5b0711f6ec63872775555a6d3 (diff) | |
download | linux-99dc736fb3c7462597adaf72cd801b52c6c4ced1.tar.xz |
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')
-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. */ |