public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] atmel_serial remove duplicated macro definition
@ 2008-04-13 22:51 Michael Trimarchi
  2008-04-14  7:18 ` Marc Pignat
  2008-04-16  5:25 ` Haavard Skinnemoen
  0 siblings, 2 replies; 3+ messages in thread
From: Michael Trimarchi @ 2008-04-13 22:51 UTC (permalink / raw)
  To: linux-kernel; +Cc: Haavard Skinnemoen, Marc Pignat

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: atmel_serial-remove-duplicated-macro-definition.patch --]
[-- Type: text/x-patch; name="atmel_serial-remove-duplicated-macro-definition.patch", Size: 900 bytes --]

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] atmel_serial remove duplicated macro definition
  2008-04-13 22:51 [PATCH] atmel_serial remove duplicated macro definition Michael Trimarchi
@ 2008-04-14  7:18 ` Marc Pignat
  2008-04-16  5:25 ` Haavard Skinnemoen
  1 sibling, 0 replies; 3+ messages in thread
From: Marc Pignat @ 2008-04-14  7:18 UTC (permalink / raw)
  To: Michael Trimarchi; +Cc: linux-kernel, Haavard Skinnemoen

On Monday 14 April 2008, Michael Trimarchi wrote:
> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] atmel_serial remove duplicated macro definition
  2008-04-13 22:51 [PATCH] atmel_serial remove duplicated macro definition Michael Trimarchi
  2008-04-14  7:18 ` Marc Pignat
@ 2008-04-16  5:25 ` Haavard Skinnemoen
  1 sibling, 0 replies; 3+ messages in thread
From: Haavard Skinnemoen @ 2008-04-16  5:25 UTC (permalink / raw)
  To: Michael Trimarchi; +Cc: linux-kernel, Marc Pignat, Andrew Morton

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-16  5:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-13 22:51 [PATCH] atmel_serial remove duplicated macro definition Michael Trimarchi
2008-04-14  7:18 ` Marc Pignat
2008-04-16  5:25 ` Haavard Skinnemoen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox