Skip to contentSkip to conversation

atmel_serial remove duplicated macro definition

PATCH In review Michael Trimarchi 3 participants 3 messages Apr 13, 2008 – Apr 16, 2008 Arm/Microchip (AT91) SoC support

lore
Share & tools
lore
#0 lore raw

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
index 430997e..3a5f44c 100644
@@ -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
#1 lore raw
Quoted 4 lines · Michael Trimarchi

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

Ooops, seems my error!

ack

Regards

Marc

Acked-by on v1 1/1
#2 lore raw
In reply to Michael Trimarchi
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) the UART_GET_TCR macro 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
index 430997e..3a5f44c 100644
@@ -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