]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
m68knommu: add platform struct for ColdFire UART driver
authorGreg Ungerer <gerg@snapgear.com>
Wed, 24 Oct 2007 02:03:56 +0000 (12:03 +1000)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 24 Oct 2007 03:45:44 +0000 (20:45 -0700)
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>
include/asm-m68knommu/mcfuart.h

index dc0146c5258b745bc3ebf094029626dfbf35eaaa..873d0805219ce7a635751df3367b87c2f773b07f 100644 (file)
 #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.
  */