lkml.org 
[lkml]   [2008]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH] atmel_serial remove duplicated macro definition
On Sun, 13 Apr 2008 22:51:53 +0000 (GMT)
Michael Trimarchi <trimarchimichael@yahoo.it> wrote:

> After commit 39d4c922b596633da86878b1a5cc881785b8e5fa (atmel_serial: fix
> uart/console concurrent access) the UART_GET_TCR macro got redefined. This
> patch removes the duplicated definition.

Acked-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>

Original attachment follows...

=============[cut here]===================

After commit 39d4c922b596633da86878b1a5cc881785b8e5fa (atmel_serial: fix
uart/console concurrent access) the UART_GET_TCR macro got redefined. This
patch removes the duplicated definition.

Signed-off-by: michael trimarchi <trimarchimichael@evidence.eu.com>
---
drivers/serial/atmel_serial.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/serial/atmel_serial.c b/drivers/serial/atmel_serial.c
index 430997e..3a5f44c 100644
--- a/drivers/serial/atmel_serial.c
+++ b/drivers/serial/atmel_serial.c
@@ -96,7 +96,6 @@

/* PDC registers */
#define UART_PUT_PTCR(port,v) __raw_writel(v, (port)->membase + ATMEL_PDC_PTCR)
-#define UART_GET_TCR(port) __raw_readl((port)->membase + ATMEL_PDC_TCR)
#define UART_GET_PTSR(port) __raw_readl((port)->membase + ATMEL_PDC_PTSR)

#define UART_PUT_RPR(port,v) __raw_writel(v, (port)->membase + ATMEL_PDC_RPR)
--
1.5.3.1


\
 
 \ /
  Last update: 2008-04-16 07:29    [W:0.038 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site