aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-24 07:09:08 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 19:51:35 -0400
commit3946b4a5bbf87878efc98d403683c7c224326434 (patch)
tree3f8e531e12a6bd23d5c9a4fccdbb3c5ea7df473e
parent1532a07042289d420f040f3bd4370cc106860003 (diff)
[media] go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
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>
-rw-r--r--drivers/staging/go7007/wis-ov7640.c1
-rw-r--r--drivers/staging/go7007/wis-saa7113.c1
-rw-r--r--drivers/staging/go7007/wis-saa7115.c1
-rw-r--r--drivers/staging/go7007/wis-sony-tuner.c1
-rw-r--r--drivers/staging/go7007/wis-tw2804.c1
-rw-r--r--drivers/staging/go7007/wis-tw9903.c1
-rw-r--r--drivers/staging/go7007/wis-uda1342.c1
7 files changed, 7 insertions, 0 deletions
diff --git a/drivers/staging/go7007/wis-ov7640.c b/drivers/staging/go7007/wis-ov7640.c
index 4f0cbdde2765..6bc9470fecb6 100644
--- a/drivers/staging/go7007/wis-ov7640.c
+++ b/drivers/staging/go7007/wis-ov7640.c
@@ -81,6 +81,7 @@ static const struct i2c_device_id wis_ov7640_id[] = {
81 { "wis_ov7640", 0 }, 81 { "wis_ov7640", 0 },
82 { } 82 { }
83}; 83};
84MODULE_DEVICE_TABLE(i2c, wis_ov7640_id);
84 85
85static struct i2c_driver wis_ov7640_driver = { 86static struct i2c_driver wis_ov7640_driver = {
86 .driver = { 87 .driver = {
diff --git a/drivers/staging/go7007/wis-saa7113.c b/drivers/staging/go7007/wis-saa7113.c
index 72f5c1f56d19..05e0e1083864 100644
--- a/drivers/staging/go7007/wis-saa7113.c
+++ b/drivers/staging/go7007/wis-saa7113.c
@@ -308,6 +308,7 @@ static const struct i2c_device_id wis_saa7113_id[] = {
308 { "wis_saa7113", 0 }, 308 { "wis_saa7113", 0 },
309 { } 309 { }
310}; 310};
311MODULE_DEVICE_TABLE(i2c, wis_saa7113_id);
311 312
312static struct i2c_driver wis_saa7113_driver = { 313static struct i2c_driver wis_saa7113_driver = {
313 .driver = { 314 .driver = {
diff --git a/drivers/staging/go7007/wis-saa7115.c b/drivers/staging/go7007/wis-saa7115.c
index cd950b61cf70..46cff59e28b7 100644
--- a/drivers/staging/go7007/wis-saa7115.c
+++ b/drivers/staging/go7007/wis-saa7115.c
@@ -441,6 +441,7 @@ static const struct i2c_device_id wis_saa7115_id[] = {
441 { "wis_saa7115", 0 }, 441 { "wis_saa7115", 0 },
442 { } 442 { }
443}; 443};
444MODULE_DEVICE_TABLE(i2c, wis_saa7115_id);
444 445
445static struct i2c_driver wis_saa7115_driver = { 446static struct i2c_driver wis_saa7115_driver = {
446 .driver = { 447 .driver = {
diff --git a/drivers/staging/go7007/wis-sony-tuner.c b/drivers/staging/go7007/wis-sony-tuner.c
index 981c9b311b8b..8f1b7d4f6a2e 100644
--- a/drivers/staging/go7007/wis-sony-tuner.c
+++ b/drivers/staging/go7007/wis-sony-tuner.c
@@ -692,6 +692,7 @@ static const struct i2c_device_id wis_sony_tuner_id[] = {
692 { "wis_sony_tuner", 0 }, 692 { "wis_sony_tuner", 0 },
693 { } 693 { }
694}; 694};
695MODULE_DEVICE_TABLE(i2c, wis_sony_tuner_id);
695 696
696static struct i2c_driver wis_sony_tuner_driver = { 697static struct i2c_driver wis_sony_tuner_driver = {
697 .driver = { 698 .driver = {
diff --git a/drivers/staging/go7007/wis-tw2804.c b/drivers/staging/go7007/wis-tw2804.c
index ee28a99dc388..5b218c55842a 100644
--- a/drivers/staging/go7007/wis-tw2804.c
+++ b/drivers/staging/go7007/wis-tw2804.c
@@ -331,6 +331,7 @@ static const struct i2c_device_id wis_tw2804_id[] = {
331 { "wis_tw2804", 0 }, 331 { "wis_tw2804", 0 },
332 { } 332 { }
333}; 333};
334MODULE_DEVICE_TABLE(i2c, wis_tw2804_id);
334 335
335static struct i2c_driver wis_tw2804_driver = { 336static struct i2c_driver wis_tw2804_driver = {
336 .driver = { 337 .driver = {
diff --git a/drivers/staging/go7007/wis-tw9903.c b/drivers/staging/go7007/wis-tw9903.c
index 80d47269b1c0..9230f4a80529 100644
--- a/drivers/staging/go7007/wis-tw9903.c
+++ b/drivers/staging/go7007/wis-tw9903.c
@@ -313,6 +313,7 @@ static const struct i2c_device_id wis_tw9903_id[] = {
313 { "wis_tw9903", 0 }, 313 { "wis_tw9903", 0 },
314 { } 314 { }
315}; 315};
316MODULE_DEVICE_TABLE(i2c, wis_tw9903_id);
316 317
317static struct i2c_driver wis_tw9903_driver = { 318static struct i2c_driver wis_tw9903_driver = {
318 .driver = { 319 .driver = {
diff --git a/drivers/staging/go7007/wis-uda1342.c b/drivers/staging/go7007/wis-uda1342.c
index 5c4eb49d7357..0127be2f3be0 100644
--- a/drivers/staging/go7007/wis-uda1342.c
+++ b/drivers/staging/go7007/wis-uda1342.c
@@ -86,6 +86,7 @@ static const struct i2c_device_id wis_uda1342_id[] = {
86 { "wis_uda1342", 0 }, 86 { "wis_uda1342", 0 },
87 { } 87 { }
88}; 88};
89MODULE_DEVICE_TABLE(i2c, wis_uda1342_id);
89 90
90static struct i2c_driver wis_uda1342_driver = { 91static struct i2c_driver wis_uda1342_driver = {
91 .driver = { 92 .driver = {