]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/upd64083.c
Merge commit 'v2.6.28-rc1' into sched/urgent
[linux-2.6-omap-h63xx.git] / drivers / media / video / upd64083.c
index 2d9a88f70c85ba2ac2efdebb9ac02d895ddea50c..9521ce004dcc1b282b4febbb4bcb7a3a43f74e25 100644 (file)
@@ -172,7 +172,8 @@ static int upd64083_command(struct i2c_client *client, unsigned cmd, void *arg)
 
 /* i2c implementation */
 
-static int upd64083_probe(struct i2c_client *client)
+static int upd64083_probe(struct i2c_client *client,
+                         const struct i2c_device_id *id)
 {
        struct upd64083_state *state;
        int i;
@@ -204,6 +205,11 @@ static int upd64083_remove(struct i2c_client *client)
 
 /* ----------------------------------------------------------------------- */
 
+static const struct i2c_device_id upd64083_id[] = {
+       { "upd64083", 0 },
+       { }
+};
+MODULE_DEVICE_TABLE(i2c, upd64083_id);
 
 static struct v4l2_i2c_driver_data v4l2_i2c_data = {
        .name = "upd64083",
@@ -211,4 +217,5 @@ static struct v4l2_i2c_driver_data v4l2_i2c_data = {
        .command = upd64083_command,
        .probe = upd64083_probe,
        .remove = upd64083_remove,
+       .id_table = upd64083_id,
 };