summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/em28xx/em28xx-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-12-05 08:27:49 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-12-16 00:17:52 -0200
commit1bad429e81f9a9ffa01c4158e6d1b1a3e06d9886 (patch)
treea87f098b83549bd393819c9852524cf811bc7f98 /drivers/media/video/em28xx/em28xx-core.c
parent4039ff28a501cf6b9fc2b6a2c2b28476d7fa14cd (diff)
downloadop-kernel-dev-1bad429e81f9a9ffa01c4158e6d1b1a3e06d9886.zip
op-kernel-dev-1bad429e81f9a9ffa01c4158e6d1b1a3e06d9886.tar.gz
V4L/DVB (13545): em28xx: properly select IR protocol based on the IR table
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-core.c')
-rw-r--r--drivers/media/video/em28xx/em28xx-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/em28xx/em28xx-core.c b/drivers/media/video/em28xx/em28xx-core.c
index 3f86d36..4f61e05 100644
--- a/drivers/media/video/em28xx/em28xx-core.c
+++ b/drivers/media/video/em28xx/em28xx-core.c
@@ -216,7 +216,7 @@ int em28xx_write_reg(struct em28xx *dev, u16 reg, u8 val)
* sets only some bits (specified by bitmask) of a register, by first reading
* the actual value
*/
-static int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
+int em28xx_write_reg_bits(struct em28xx *dev, u16 reg, u8 val,
u8 bitmask)
{
int oldval;
OpenPOWER on IntegriCloud