projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c55197e
)
[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro
author
Ralf Baechle
<ralf@linux-mips.org>
Tue, 6 Feb 2007 16:43:31 +0000
(16:43 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Tue, 6 Feb 2007 16:53:25 +0000
(16:53 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/pmc-sierra/yosemite/dbg_io.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/pmc-sierra/yosemite/dbg_io.c
b/arch/mips/pmc-sierra/yosemite/dbg_io.c
index 0f659c9106ac21091872cd855a45c35a0a764677..6362c702e3890a6788878a7d70e6823f5fe17025 100644
(file)
--- a/
arch/mips/pmc-sierra/yosemite/dbg_io.c
+++ b/
arch/mips/pmc-sierra/yosemite/dbg_io.c
@@
-93,7
+93,7
@@
* Functions to READ and WRITE to serial port 1
*/
#define SERIAL_READ_1(ofs) (*((volatile unsigned char*) \
- (TITAN_SERIAL_BASE_1 + ofs)
+ (TITAN_SERIAL_BASE_1 + ofs)
))
#define SERIAL_WRITE_1(ofs, val) ((*((volatile unsigned char*) \
(TITAN_SERIAL_BASE_1 + ofs))) = val)