i2c: Add IDs to adapters
IDs have been defined but not used by most of the I2C adapters. By having a unique ID, clients can check for correct connection during probe. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jean Delvare <khali@linux-fr.org>
这个提交包含在:
@@ -86,6 +86,7 @@ static struct i2c_algo_bit_data bit_data = {
|
||||
|
||||
static struct i2c_adapter vt586b_adapter = {
|
||||
.owner = THIS_MODULE,
|
||||
.id = I2C_HW_B_VIA,
|
||||
.class = I2C_CLASS_HWMON,
|
||||
.name = "VIA i2c",
|
||||
.algo_data = &bit_data,
|
||||
|
在新工单中引用
屏蔽一个用户