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>
Šī revīzija ir iekļauta:

revīziju iesūtīja
Jean Delvare

vecāks
a394ae1542
revīzija
9ace555d7d
@@ -81,6 +81,7 @@ static struct i2c_algo_bit_data scx200_i2c_data = {
|
||||
|
||||
static struct i2c_adapter scx200_i2c_ops = {
|
||||
.owner = THIS_MODULE,
|
||||
.id = I2C_HW_B_SCX200,
|
||||
.algo_data = &scx200_i2c_data,
|
||||
.name = "NatSemi SCx200 I2C",
|
||||
};
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user