瀏覽代碼

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>
Greg Ungerer 17 年之前
父節點
當前提交
99dc736fb3
共有 1 個文件被更改,包括 10 次插入0 次删除
  1. 10 0
      include/asm-m68knommu/mcfuart.h

+ 10 - 0
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.
  */