arch: x86: added missing parenthesis
- added missing parenthesis around macro argument expansion Signed-off-by: frei tycho <tfrei@baumer.com>
This commit is contained in:
parent
442f208cb3
commit
85a4b22c3f
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@
|
||||||
* together.
|
* together.
|
||||||
*/
|
*/
|
||||||
static mm_reg_t mmio;
|
static mm_reg_t mmio;
|
||||||
#define IN(reg) (sys_read32(mmio + reg * 4) & 0xff)
|
#define IN(reg) (sys_read32(mmio + (reg) * 4) & 0xff)
|
||||||
#define OUT(reg, val) sys_write32((val) & 0xff, mmio + reg * 4)
|
#define OUT(reg, val) sys_write32((val) & 0xff, mmio + (reg) * 4)
|
||||||
#elif defined(X86_SOC_EARLY_SERIAL_MMIO8_ADDR)
|
#elif defined(X86_SOC_EARLY_SERIAL_MMIO8_ADDR)
|
||||||
/* Still other devices use a MMIO region containing packed byte
|
/* Still other devices use a MMIO region containing packed byte
|
||||||
* registers
|
* registers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue