Skip to content

Commit

Permalink
[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Feb 6, 2007
1 parent c55197e commit d390008
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/pmc-sierra/yosemite/dbg_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d390008

Please sign in to comment.