public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo
@ 2015-02-28  7:55 Axel Lin
  2015-03-01 18:06 ` Simon Glass
  2015-03-02 15:29 ` Tom Rini
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2015-02-28  7:55 UTC (permalink / raw)
  To: u-boot

Fix trivial typo.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/serial/ns16550.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/serial/ns16550.c b/drivers/serial/ns16550.c
index eb00f1c..03beab5 100644
--- a/drivers/serial/ns16550.c
+++ b/drivers/serial/ns16550.c
@@ -80,7 +80,7 @@ static inline int serial_in_shift(unsigned char *addr, int shift)
 #elif defined(CONFIG_SYS_NS16550_MEM32) && defined(CONFIG_SYS_BIG_ENDIAN)
 	return in_be32(addr);
 #elif defined(CONFIG_SYS_BIG_ENDIAN)
-	return readb(addr + (1 << reg_shift) - 1);
+	return readb(addr + (1 << shift) - 1);
 #else
 	return readb(addr);
 #endif
-- 
1.9.1

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

* [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo
  2015-02-28  7:55 [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo Axel Lin
@ 2015-03-01 18:06 ` Simon Glass
  2015-03-02 15:29 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-03-01 18:06 UTC (permalink / raw)
  To: u-boot

On 28 February 2015 at 00:55, Axel Lin <axel.lin@ingics.com> wrote:
> Fix trivial typo.
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/serial/ns16550.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Simon Glass <sjg@chromium.org>

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

* [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo
  2015-02-28  7:55 [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo Axel Lin
  2015-03-01 18:06 ` Simon Glass
@ 2015-03-02 15:29 ` Tom Rini
  1 sibling, 0 replies; 3+ messages in thread
From: Tom Rini @ 2015-03-02 15:29 UTC (permalink / raw)
  To: u-boot

On Sat, Feb 28, 2015 at 03:55:36PM +0800, Axel Lin wrote:

> Fix trivial typo.
> 
> Acked-by: Simon Glass <sjg@chromium.org>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150302/95b3646f/attachment.sig>

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

end of thread, other threads:[~2015-03-02 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-28  7:55 [U-Boot] [PATCH] serial: ns16550: Fix build error due to a typo Axel Lin
2015-03-01 18:06 ` Simon Glass
2015-03-02 15:29 ` Tom Rini

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