atmel_serial remove duplicated macro definition
PATCH 1/1 atmel_serial remove duplicated macro definition
After commit 39d4c922b596633da86878b1a5cc881785b8e5fa (atmel_serial: fix uart/console concurrent access) the UART_GET_TCR macro got redefined. This patch removes the duplicated definition.
Michael
Inviato da Yahoo! Mail.
La casella di posta intelligente.
http://it.docs.yahoo.com/mail/overview/index.html
After commit 39d4c922b596633da86878b1a5cc881785b8e5fa (atmel_serial: fix uart/console concurrent access) the UART_GET_TCR macro got redefined. This patch removes the duplicated definition.
--- drivers/serial/atmel_serial.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/serial/atmel_serial.c +0 -1
@@ -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)
Signature · 1 line
1.5.3.1
Quoted 4 lines · Michael Trimarchi
After commit
39d4c922b596633da86878b1a5cc881785b8e5fa(atmel_serial: fix uart/console concurrent access) theUART_GET_TCRmacro got redefined. This patch removes the duplicated definition.
Ooops, seems my error!
ack
Regards
Marc
Quoted 3 lines · On Sun, 13 Apr 2008 22:51:53 +0000 (GMT) Michael Trimarchi…
After commit
39d4c922b596633da86878b1a5cc881785b8e5fa(atmel_serial: fix uart/console concurrent access) theUART_GET_TCRmacro got redefined. This patch removes the duplicated definition.
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.
--- drivers/serial/atmel_serial.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
drivers/serial/atmel_serial.c +0 -1
@@ -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)
Signature · 1 line
1.5.3.1