Skip to contentSkip to conversation

: add platform struct for ColdFire UART driver

M68KNOMMU Greg Ungerer 1 participant 1 message Oct 24, 2007

lore
Share & tools
lore
#0 lore raw

Add platform support structure for use with new ColdFire UART driver.

---

include/asm-m68knommu/mcfuart.h +10 -0
diff -Naurp linux-2.6.23/include/asm-m68knommu/mcfuart.h linux-2.6.23-uc0/include/asm-m68knommu/mcfuart.h
@@ -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.
  */