summaryrefslogtreecommitdiffstats
path: root/arch/mips/pmc-sierra
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-02-06 17:43:31 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-02-06 17:53:25 +0100
commitd390008ebf42bdfda106e9de2b2d0abcc9858e26 (patch)
tree79690de99308b3e6ac219074182d8b04b5ce00bf /arch/mips/pmc-sierra
parent[MIPS] Fix warnings in run_uncached on 32bit kernel (diff)
downloadlinux-d390008ebf42bdfda106e9de2b2d0abcc9858e26.tar.xz
linux-d390008ebf42bdfda106e9de2b2d0abcc9858e26.zip
[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/pmc-sierra')
-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)