summaryrefslogtreecommitdiff
path: root/src/i830_i2c.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2007-03-13 10:21:06 -0700
committerEric Anholt <eric@anholt.net>2007-03-13 16:59:38 -0700
commit5135b3a79f9c30ebce78c84c49846bba83607fed (patch)
tree8ea1d50eda1059e9b7fc93490dc9c501500a0f2e /src/i830_i2c.c
parent578da7ca705c5a58c0bd397b0831e2f95140f8ae (diff)
Use a POSTING_READ(reg) macro instead of using the (void)INREG(reg) pattern.
Diffstat (limited to 'src/i830_i2c.c')
-rw-r--r--src/i830_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_i2c.c b/src/i830_i2c.c
index 7fac63cd..319e8dab 100644
--- a/src/i830_i2c.c
+++ b/src/i830_i2c.c
@@ -336,7 +336,7 @@ i830I2CPutBits(I2CBusPtr b, int clock, int data)
clock_bits = GPIO_CLOCK_DIR_OUT|GPIO_CLOCK_DIR_MASK|GPIO_CLOCK_VAL_MASK;
OUTREG(b->DriverPrivate.uval, reserved | data_bits | clock_bits);
- (void)INREG(b->DriverPrivate.uval);
+ POSTING_READ(b->DriverPrivate.uval);
}
#endif