[media] go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 24 Sep 2010 11:09:08 +0000 (08:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 22 Oct 2010 23:51:35 +0000 (21:51 -0200)
The device table is required to load modules based on modaliases.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/go7007/wis-ov7640.c
drivers/staging/go7007/wis-saa7113.c
drivers/staging/go7007/wis-saa7115.c
drivers/staging/go7007/wis-sony-tuner.c
drivers/staging/go7007/wis-tw2804.c
drivers/staging/go7007/wis-tw9903.c
drivers/staging/go7007/wis-uda1342.c

index 4f0cbdde2765ec87dd08ef2564ca7a0c6a5da2dd..6bc9470fecb6f13de14d8bb1106a5209525f1102 100644 (file)
@@ -81,6 +81,7 @@ static const struct i2c_device_id wis_ov7640_id[] = {
        { "wis_ov7640", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_ov7640_id);
 
 static struct i2c_driver wis_ov7640_driver = {
        .driver = {
index 72f5c1f56d195f9c777ba09106b829f1814b9de0..05e0e108386427b4ee22677707f373fd699bda65 100644 (file)
@@ -308,6 +308,7 @@ static const struct i2c_device_id wis_saa7113_id[] = {
        { "wis_saa7113", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_saa7113_id);
 
 static struct i2c_driver wis_saa7113_driver = {
        .driver = {
index cd950b61cf70ee1c4d1d883f2949c5677c085368..46cff59e28b7faddddd41c259c3d56815dc446cc 100644 (file)
@@ -441,6 +441,7 @@ static const struct i2c_device_id wis_saa7115_id[] = {
        { "wis_saa7115", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_saa7115_id);
 
 static struct i2c_driver wis_saa7115_driver = {
        .driver = {
index 981c9b311b8b9643befcd08440b1e598354cc5eb..8f1b7d4f6a2e976504a849c262d462b0916a2b49 100644 (file)
@@ -692,6 +692,7 @@ static const struct i2c_device_id wis_sony_tuner_id[] = {
        { "wis_sony_tuner", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_sony_tuner_id);
 
 static struct i2c_driver wis_sony_tuner_driver = {
        .driver = {
index ee28a99dc3883620135726feba6034f54632c9ea..5b218c55842ac47aa11fe5e8b9100ea3ff4289de 100644 (file)
@@ -331,6 +331,7 @@ static const struct i2c_device_id wis_tw2804_id[] = {
        { "wis_tw2804", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_tw2804_id);
 
 static struct i2c_driver wis_tw2804_driver = {
        .driver = {
index 80d47269b1c01f4054faeb8f2f4514f242e0dc29..9230f4a8052926c13de75810aab6d40c00992814 100644 (file)
@@ -313,6 +313,7 @@ static const struct i2c_device_id wis_tw9903_id[] = {
        { "wis_tw9903", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_tw9903_id);
 
 static struct i2c_driver wis_tw9903_driver = {
        .driver = {
index 5c4eb49d735790fb1eccf18d943860f9b14b267b..0127be2f3be0b68135aaa1ceeb3e75cac5a98536 100644 (file)
@@ -86,6 +86,7 @@ static const struct i2c_device_id wis_uda1342_id[] = {
        { "wis_uda1342", 0 },
        { }
 };
+MODULE_DEVICE_TABLE(i2c, wis_uda1342_id);
 
 static struct i2c_driver wis_uda1342_driver = {
        .driver = {