[PATCH] mips dbg_io stray brackets fix

From: Mariusz Kozlowski
Date: Wed Nov 29 2006 - 14:19:22 EST


Hello,

This macro is not used. Better have it fixed than broken anyway.

This patch adds stray brackets.

Signed-off-by: Mariusz Kozlowski <m.kozlowski@xxxxxxxxxx>

dbg_io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.19-rc6-mm2-a/arch/mips/pmc-sierra/yosemite/dbg_io.c 2006-11-16 05:03:40.000000000 +0100
+++ linux-2.6.19-rc6-mm2-b/arch/mips/pmc-sierra/yosemite/dbg_io.c 2006-11-29 14:43:58.000000000 +0100
@@ -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)

--
Regards,

Mariusz Kozlowski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/