瀏覽代碼

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>
Vikram Narayanan 14 年之前
父節點
當前提交
3116c86033
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/i2c/writing-clients

+ 1 - 1
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: */