diff options
author | Greg Ungerer <gerg@snapgear.com> | 2007-10-23 22:03:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-23 23:45:44 -0400 |
commit | 99dc736fb3c7462597adaf72cd801b52c6c4ced1 (patch) | |
tree | 39f2477b8684ddd63c6825b8ea5298c25cc41adf /include/asm-m68knommu/mcfuart.h | |
parent | f386c3ccf65c24e5b0711f6ec63872775555a6d3 (diff) |
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 @@ | |||
51 | #endif | 51 | #endif |
52 | 52 | ||
53 | 53 | ||
54 | #include <linux/serial_core.h> | ||
55 | #include <linux/platform_device.h> | ||
56 | |||
57 | struct mcf_platform_uart { | ||
58 | unsigned long mapbase; /* Physical address base */ | ||
59 | void __iomem *membase; /* Virtual address if mapped */ | ||
60 | unsigned int irq; /* Interrupt vector */ | ||
61 | unsigned int uartclk; /* UART clock rate */ | ||
62 | }; | ||
63 | |||
54 | /* | 64 | /* |
55 | * Define the ColdFire UART register set addresses. | 65 | * Define the ColdFire UART register set addresses. |
56 | */ | 66 | */ |