mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-04 20:19:47 +08:00
i2c/writing-clients: Fix foo_driver.id_table
The i2c_device_id structure variable's name is not used in the i2c_driver structure. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Cc: stable@kernel.org Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
parent
d762f43831
commit
3116c86033
@ -38,7 +38,7 @@ static struct i2c_driver foo_driver = {
|
|||||||
.name = "foo",
|
.name = "foo",
|
||||||
},
|
},
|
||||||
|
|
||||||
.id_table = foo_ids,
|
.id_table = foo_idtable,
|
||||||
.probe = foo_probe,
|
.probe = foo_probe,
|
||||||
.remove = foo_remove,
|
.remove = foo_remove,
|
||||||
/* if device autodetection is needed: */
|
/* if device autodetection is needed: */
|
||||||
|
Loading…
Reference in New Issue
Block a user