Skip to content

Commit

Permalink
m68knommu: add platform struct for ColdFire UART driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Ungerer authored and Linus Torvalds committed Oct 24, 2007
1 parent f386c3c commit 99dc736
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions include/asm-m68knommu/mcfuart.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 99dc736

Please sign in to comment.