diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-02-06 11:43:31 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-02-06 11:53:25 -0500 |
commit | d390008ebf42bdfda106e9de2b2d0abcc9858e26 (patch) | |
tree | 79690de99308b3e6ac219074182d8b04b5ce00bf /arch/mips/pmc-sierra | |
parent | c55197eb549dc09a52b6d91e6f26709a6d6815e5 (diff) |
[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.c | 2 |
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 @@ | |||
93 | * Functions to READ and WRITE to serial port 1 | 93 | * Functions to READ and WRITE to serial port 1 |
94 | */ | 94 | */ |
95 | #define SERIAL_READ_1(ofs) (*((volatile unsigned char*) \ | 95 | #define SERIAL_READ_1(ofs) (*((volatile unsigned char*) \ |
96 | (TITAN_SERIAL_BASE_1 + ofs) | 96 | (TITAN_SERIAL_BASE_1 + ofs))) |
97 | 97 | ||
98 | #define SERIAL_WRITE_1(ofs, val) ((*((volatile unsigned char*) \ | 98 | #define SERIAL_WRITE_1(ofs, val) ((*((volatile unsigned char*) \ |
99 | (TITAN_SERIAL_BASE_1 + ofs))) = val) | 99 | (TITAN_SERIAL_BASE_1 + ofs))) = val) |