mips dbg_io stray brackets fix
PATCH 1/1 mips dbg_io stray brackets fix
Hello,
This macro is not used. Better have it fixed than broken anyway.
This patch adds stray brackets.
Signed-off-by Mariusz Kozlowski <[email protected]>
dbg_io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/mips/pmc-sierra/yosemite/dbg_io.c +1 -1
@@ -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)
Signature · 3 lines
Regards, Mariusz Kozlowski