Skip to contentSkip to conversation

mips dbg_io stray brackets fix

PATCH New Mariusz Kozlowski 1 participant 1 message Nov 29, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

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.

 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