Skip to content

Commit

Permalink
i2c/writing-clients: Fix foo_driver.id_table
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
arkivm authored and Jean Delvare committed May 24, 2011
1 parent d762f43 commit 3116c86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/i2c/writing-clients
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ static struct i2c_driver foo_driver = {
.name = "foo",
},

.id_table = foo_ids,
.id_table = foo_idtable,
.probe = foo_probe,
.remove = foo_remove,
/* if device autodetection is needed: */
Expand Down

0 comments on commit 3116c86

Please sign in to comment.