Displaying 1 result from an estimated 1 matches for "i2c_bit_algo".
2012 Feb 14
1
[PATCH 2/7] drm/nouveau: do a better job at hiding the NIH i2c bit-banging algo
...i2c_msg *msg = msgs;
@@ -272,14 +272,14 @@ i2c_bit_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs, int num)
}
static u32
-i2c_bit_func(struct i2c_adapter *adap)
+nouveau_i2c_bit_func(struct i2c_adapter *adap)
{
return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
}
const struct i2c_algorithm i2c_bit_algo = {
- .master_xfer = i2c_bit_xfer,
- .functionality = i2c_bit_func
+ .master_xfer = nouveau_i2c_bit_xfer,
+ .functionality = nouveau_i2c_bit_func
};
static const uint32_t nv50_i2c_port[] = {
--
1.7.7.5