commit: 3116c86033079a1d4d4e84c40028f96b614843b8
From: Vikram Narayanan <[email protected]>
Date: Tue, 24 May 2011 20:58:48 +0200
Subject: [PATCH] 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 <[email protected]>
Cc: [email protected]
Signed-off-by: Jean Delvare <[email protected]>
---
 Documentation/i2c/writing-clients |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Documentation/i2c/writing-clients 
b/Documentation/i2c/writing-clients
index 5ebf5af..5aa5337 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: */

_______________________________________________
stable mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/stable

Reply via email to