aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/et61x251/et61x251_tas5130d1b.c
diff options
context:
space:
mode:
authorLuca Risolia <luca.risolia@studio.unibo.it>2007-06-13 14:52:01 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:24:08 -0300
commit3b2ae0be9e246974db65a5bf4ccd2de328f3dede (patch)
tree214b1f770ef032dd371d4fa1791c808c021d4104 /drivers/media/video/et61x251/et61x251_tas5130d1b.c
parent3770be34199ace8c497ce454cebd7d63347dc4c3 (diff)
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.c2
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 b0664340984..04b7fbb310a 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,