aboutsummaryrefslogtreecommitdiff
path: root/Documentation/i2c/writing-clients
diff options
context:
space:
mode:
authorVikram Narayanan <vikram186@gmail.com>2011-05-24 20:58:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-03 10:34:21 +0900
commit2617bae63c8a99987a2eb05739bd1ee087167351 (patch)
treefb5d7dc0064a9c214f8c4ef80c04bcac0b107c40 /Documentation/i2c/writing-clients
parent05ebf3493e8f0b71131a52b3bdc3d2a7e9c1f12b (diff)
downloadlinux-linaro-stable-2617bae63c8a99987a2eb05739bd1ee087167351.tar.gz
i2c/writing-clients: Fix foo_driver.id_table
commit 3116c86033079a1d4d4e84c40028f96b614843b8 upstream. The i2c_device_id structure variable's name is not used in the i2c_driver structure. Signed-off-by: Vikram Narayanan <vikram186@gmail.com> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/i2c/writing-clients')
-rw-r--r--Documentation/i2c/writing-clients2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients
index 5ebf5af1d716..5aa53374ea2a 100644
--- a/Documentation/i2c/writing-clients
+++ b/Documentation/i2c/writing-clients
@@ -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: */