diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-10-24 12:03:56 +1000 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 20:45:44 -0700 |
commit | 99dc736fb3c7462597adaf72cd801b52c6c4ced1 (patch) | |
tree | 39f2477b8684ddd63c6825b8ea5298c25cc41adf /include/asm-m68knommu | |
parent | f386c3ccf65c24e5b0711f6ec63872775555a6d3 (diff) | |
download | kernel_samsung_aries-99dc736fb3c7462597adaf72cd801b52c6c4ced1.zip kernel_samsung_aries-99dc736fb3c7462597adaf72cd801b52c6c4ced1.tar.gz kernel_samsung_aries-99dc736fb3c7462597adaf72cd801b52c6c4ced1.tar.bz2 |
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 dc0146c..873d080 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. */ |