提交 99dc736f 编写于 作者: G Greg Ungerer 提交者: Linus Torvalds

m68knommu: add platform struct for ColdFire UART driver

Add platform support structure for use with new ColdFire UART driver.
Signed-off-by: NGreg Ungerer <gerg@uclinux.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 f386c3cc
...@@ -51,6 +51,16 @@ ...@@ -51,6 +51,16 @@
#endif #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. * Define the ColdFire UART register set addresses.
*/ */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册