serial: ns16550: Fix build error due to a typo
PATCH 1/1 serial: ns16550: Fix build error due to a typo
Fix trivial typo.
Signed-off-by Axel Lin <[email protected]>
--- drivers/serial/ns16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/serial/ns16550.c +1 -1
@@ -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
Signature · 1 line
1.9.1
PATCH 1/1 serial: ns16550: Fix build error due to a typo
Quoted 6 lines · Axel Lin
Fix trivial typo.
Signed-off-by Axel Lin <[email protected]>--- drivers/serial/ns16550.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by Simon Glass <[email protected]>
PATCH 1/1 serial: ns16550: Fix build error due to a typo
In reply to Axel LinQuoted 4 lines · Axel Lin
Fix trivial typo.
Acked-by Simon Glass <[email protected]>Signed-off-by Axel Lin <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
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>