summaryrefslogtreecommitdiff
path: root/drivers/staging/go7007/go7007-usb.c
diff options
context:
space:
mode:
authorPete Eberlein <pete@sensoray.com>2009-11-16 15:13:51 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 18:42:17 -0200
commit832b6a8917f050a9cbeeb69e080733128d562f59 (patch)
treeabcd8c463aa2c28cfe15cfeabb1ee676da204f81 /drivers/staging/go7007/go7007-usb.c
parent694a101e6acb865f5405a95c358eea43c813cf24 (diff)
V4L/DVB (13456): s2250: Change module structure
The s2250-board i2c module was converted to use v4l2-i2c-drv.h in preparation for its subdev conversion. This change prevented the s2250-loader from being initialized within the same module due to the module_init and module_exit function definitions in v4l2-i2c-drv.h. Therefore, s2250-loader is now its own module, and the header for exporting s2250-loader functions is no longer needed. The s2250 i2c module name was "2220-board" in some places, and was changed to "s2250". Signed-off-by: Pete Eberlein <pete@sensoray.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/staging/go7007/go7007-usb.c')
-rw-r--r--drivers/staging/go7007/go7007-usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/go7007/go7007-usb.c b/drivers/staging/go7007/go7007-usb.c
index f17e7b337a15..1e89dc04ec23 100644
--- a/drivers/staging/go7007/go7007-usb.c
+++ b/drivers/staging/go7007/go7007-usb.c
@@ -425,7 +425,7 @@ static struct go7007_usb_board board_sensoray_2250 = {
.num_i2c_devs = 1,
.i2c_devs = {
{
- .type = "s2250_board",
+ .type = "s2250",
.id = I2C_DRIVERID_S2250,
.addr = 0x43,
},