From 99dc736fb3c7462597adaf72cd801b52c6c4ced1 Mon Sep 17 00:00:00 2001 From: Greg Ungerer Date: Wed, 24 Oct 2007 12:03:56 +1000 Subject: [PATCH] m68knommu: add platform struct for ColdFire UART driver Add platform support structure for use with new ColdFire UART driver. Signed-off-by: Greg Ungerer Signed-off-by: Linus Torvalds --- include/asm-m68knommu/mcfuart.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/asm-m68knommu/mcfuart.h b/include/asm-m68knommu/mcfuart.h index dc0146c5258b..873d0805219c 100644 --- a/include/asm-m68knommu/mcfuart.h +++ b/include/asm-m68knommu/mcfuart.h @@ -51,6 +51,16 @@ #endif +#include +#include + +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. */ -- GitLab