mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 02:50:43 +00:00
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>
This commit is contained in:
parent
f386c3ccf6
commit
99dc736fb3
1 changed files with 10 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue