提交 618b26d5 编写于 作者: W Wolfgang Grandegger 提交者: Grant Likely

i2c-mpc: suppress I2C device probing

This patch suppresses I2C device probing by clearing the class field
of the "struct i2c_adapter" for the MPC I2C bus adapters. Some board
configurations which rely on probing must be fixed up by adding a
proper I2C device node to the DTS file, like the TQM85xx modules.
Signed-off-by: NWolfgang Grandegger <wg@grandegger.com>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 f43c32ef
......@@ -312,7 +312,6 @@ static struct i2c_adapter mpc_ops = {
.name = "MPC adapter",
.id = I2C_HW_MPC107,
.algo = &mpc_algo,
.class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
.timeout = 1,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册