summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-06 19:43:31 +0300
committerRalf Baechle <ralf@linux-mips.org>2007-02-06 19:53:25 +0300
commitd390008ebf42bdfda106e9de2b2d0abcc9858e26 (patch)
tree79690de99308b3e6ac219074182d8b04b5ce00bf
parentc55197eb549dc09a52b6d91e6f26709a6d6815e5 (diff)
downloadlinux-d390008ebf42bdfda106e9de2b2d0abcc9858e26.tar.xz
[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/pmc-sierra/yosemite/dbg_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/pmc-sierra/yosemite/dbg_io.c b/arch/mips/pmc-sierra/yosemite/dbg_io.c
index 0f659c9106ac..6362c702e389 100644
--- 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)