diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-06-13 14:52:01 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-06-13 14:52:01 -0300 |
commit | 791ffeb7445afcd84028999dbf26c243d918bd77 (patch) | |
tree | 12573b5490254ef03616c13148e962a45356a475 /linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c | |
parent | 86beca113bbe666cd0630a4ad8d45e6e49b5cc8b (diff) | |
download | mediapointer-dvb-s2-791ffeb7445afcd84028999dbf26c243d918bd77.tar.gz mediapointer-dvb-s2-791ffeb7445afcd84028999dbf26c243d918bd77.tar.bz2 |
ET61x251 driver updates
From: Luca Risolia <luca.risolia@studio.unibo.it>
- 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 'linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c')
-rw-r--r-- | linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c b/linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c index b06643409..04b7fbb31 100644 --- a/linux/drivers/media/video/et61x251/et61x251_tas5130d1b.c +++ b/linux/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, |