Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d390008e authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Yosemite: Fix missing parens in SERIAL_READ_1 macro

parent c55197eb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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)