aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/go7007/wis-saa7115.c
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-09-24 08:09:08 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-22 21:51:35 -0200
commit3946b4a5bbf87878efc98d403683c7c224326434 (patch)
tree3f8e531e12a6bd23d5c9a4fccdbb3c5ea7df473e /drivers/staging/go7007/wis-saa7115.c
parent[media] v4l: Remove hardcoded module names passed to v4l2_i2c_new_subdev* (diff)
downloadlinux-dev-3946b4a5bbf87878efc98d403683c7c224326434.tar.xz
linux-dev-3946b4a5bbf87878efc98d403683c7c224326434.zip
[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>
Diffstat (limited to 'drivers/staging/go7007/wis-saa7115.c')
-rw-r--r--drivers/staging/go7007/wis-saa7115.c1
1 files changed, 1 insertions, 0 deletions
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[] = {
{ "wis_saa7115", 0 },
{ }
};
+MODULE_DEVICE_TABLE(i2c, wis_saa7115_id);
static struct i2c_driver wis_saa7115_driver = {
.driver = {