Skip to content

Commit 99dc736

Browse files
Greg UngererLinus Torvalds
authored andcommitted
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>
1 parent f386c3c commit 99dc736

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

include/asm-m68knommu/mcfuart.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,16 @@
5151
#endif
5252

5353

54+
#include <linux/serial_core.h>
55+
#include <linux/platform_device.h>
56+
57+
struct mcf_platform_uart {
58+
unsigned long mapbase; /* Physical address base */
59+
void __iomem *membase; /* Virtual address if mapped */
60+
unsigned int irq; /* Interrupt vector */
61+
unsigned int uartclk; /* UART clock rate */
62+
};
63+
5464
/*
5565
* Define the ColdFire UART register set addresses.
5666
*/

0 commit comments

Comments
 (0)