summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2007-10-24 12:03:56 +1000
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-23 20:45:44 -0700
commit99dc736fb3c7462597adaf72cd801b52c6c4ced1 (patch)
tree39f2477b8684ddd63c6825b8ea5298c25cc41adf
parentf386c3ccf65c24e5b0711f6ec63872775555a6d3 (diff)
downloadop-kernel-dev-99dc736fb3c7462597adaf72cd801b52c6c4ced1.zip
op-kernel-dev-99dc736fb3c7462597adaf72cd801b52c6c4ced1.tar.gz
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>
-rw-r--r--include/asm-m68knommu/mcfuart.h10
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.
*/
OpenPOWER on IntegriCloud