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:
Родитель
f386c3ccf6
Коммит
99dc736fb3
|
@ -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.
|
||||
*/
|
||||
|
|
Загрузка…
Ссылка в новой задаче