From: Vikram Narayanan Date: Tue, 24 May 2011 18:58:48 +0000 (+0200) Subject: i2c/writing-clients: Fix foo_driver.id_table X-Git-Tag: v2.6.38.8~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2617bae63c8a99987a2eb05739bd1ee087167351;p=thirdparty%2Fkernel%2Fstable.git 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 Signed-off-by: Jean Delvare Signed-off-by: Greg Kroah-Hartman --- diff --git a/Documentation/i2c/writing-clients b/Documentation/i2c/writing-clients index 5ebf5af1d7160..5aa53374ea2a8 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: */