diff options
author | Luca Risolia <luca.risolia@studio.unibo.it> | 2007-06-13 21:52:01 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-07-18 21:24:08 +0400 |
commit | 3b2ae0be9e246974db65a5bf4ccd2de328f3dede (patch) | |
tree | 214b1f770ef032dd371d4fa1791c808c021d4104 /drivers/media/video/et61x251/et61x251_tas5130d1b.c | |
parent | 3770be34199ace8c497ce454cebd7d63347dc4c3 (diff) | |
download | linux-3b2ae0be9e246974db65a5bf4ccd2de328f3dede.tar.xz |
V4L/DVB (5766): ET61x251 driver updates
- Make the driver depend on V4L2 only (KConfig)
- Better and safe locking mechanism of the device structure on open(),
close() and disconnect()
- Use kref for handling device deallocation
- Generic cleanups
Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/et61x251/et61x251_tas5130d1b.c')
-rw-r--r-- | drivers/media/video/et61x251/et61x251_tas5130d1b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/et61x251/et61x251_tas5130d1b.c b/drivers/media/video/et61x251/et61x251_tas5130d1b.c index b06643409842..04b7fbb310a8 100644 --- a/drivers/media/video/et61x251/et61x251_tas5130d1b.c +++ b/drivers/media/video/et61x251/et61x251_tas5130d1b.c @@ -69,7 +69,7 @@ static int tas5130d1b_set_ctrl(struct et61x251_device* cam, } -static struct et61x251_sensor tas5130d1b = { +static const struct et61x251_sensor tas5130d1b = { .name = "TAS5130D1B", .interface = ET61X251_I2C_3WIRES, .rsta = ET61X251_I2C_RSTA_STOP, |