[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
Ralf Baechle 2007-02-06 16:43:31 +00:00
parent c55197eb54
commit d390008ebf

View file

@ -93,7 +93,7 @@
* Functions to READ and WRITE to serial port 1 * Functions to READ and WRITE to serial port 1
*/ */
#define SERIAL_READ_1(ofs) (*((volatile unsigned char*) \ #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*) \ #define SERIAL_WRITE_1(ofs, val) ((*((volatile unsigned char*) \
(TITAN_SERIAL_BASE_1 + ofs))) = val) (TITAN_SERIAL_BASE_1 + ofs))) = val)