LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [M68KNOMMU]: add platform struct for ColdFire UART driver
@ 2007-10-24 2:03 Greg Ungerer
0 siblings, 0 replies; only message in thread
From: Greg Ungerer @ 2007-10-24 2:03 UTC (permalink / raw)
To: torvalds; +Cc: gerg, linux-kernel
Add platform support structure for use with new ColdFire UART driver.
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---
diff -Naurp linux-2.6.23/include/asm-m68knommu/mcfuart.h linux-2.6.23-uc0/include/asm-m68knommu/mcfuart.h
--- linux-2.6.23/include/asm-m68knommu/mcfuart.h 2007-10-19 10:21:30.000000000 +1000
+++ linux-2.6.23-uc0/include/asm-m68knommu/mcfuart.h 2007-10-19 10:32:26.000000000 +1000
@@ -51,6 +50,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.
*/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-10-24 2:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-24 2:03 [M68KNOMMU]: add platform struct for ColdFire UART driver Greg Ungerer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).