Skip to content

Commit

Permalink
[media] go7007: Add MODULE_DEVICE_TABLE to the go7007 I2C modules
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Oct 22, 2010
1 parent 1532a07 commit 3946b4a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-ov7640.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-saa7113.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-saa7115.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-sony-tuner.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-tw2804.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-tw9903.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
1 change: 1 addition & 0 deletions drivers/staging/go7007/wis-uda1342.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 3946b4a

Please sign in to comment.