projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4e34d61
)
serial: ns16550: Fix build error due to a typo
author
Axel Lin
<axel.lin@ingics.com>
Sat, 28 Feb 2015 07:55:36 +0000
(15:55 +0800)
committer
Tom Rini
<trini@konsulko.com>
Mon, 2 Mar 2015 13:48:00 +0000
(08:48 -0500)
Fix trivial typo.
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
drivers/serial/ns16550.c
patch
|
blob
|
history
diff --git
a/drivers/serial/ns16550.c
b/drivers/serial/ns16550.c
index eb00f1ca8a254bdd7178e61f1c15c114a7ac2336..03beab5a14bced95741b483d52d8111043fa9856 100644
(file)
--- 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