summaryrefslogtreecommitdiff
path: root/hw/xfree86/i2c/xf86i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xfree86/i2c/xf86i2c.c')
-rw-r--r--hw/xfree86/i2c/xf86i2c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/xfree86/i2c/xf86i2c.c b/hw/xfree86/i2c/xf86i2c.c
index 55a6cb059..77e3c2634 100644
--- a/hw/xfree86/i2c/xf86i2c.c
+++ b/hw/xfree86/i2c/xf86i2c.c
@@ -818,6 +818,7 @@ xf86I2CBusInit(I2CBusPtr b)
if (b->I2CPutByte == NULL ||
b->I2CGetByte == NULL ||
b->I2CAddress == NULL ||
+ b->I2CStart == NULL ||
b->I2CStop == NULL)
return FALSE;
} else {
@@ -825,6 +826,7 @@ xf86I2CBusInit(I2CBusPtr b)
b->I2CGetByte = I2CGetByte;
b->I2CAddress = I2CAddress;
b->I2CStop = I2CStop;
+ b->I2CStart = I2CStart;
}
}