summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-i2c.h
diff options
context:
space:
mode:
authorAndy Walls2009-11-21 15:41:33 +0100
committerMauro Carvalho Chehab2009-12-05 21:41:56 +0100
commitbfbde8ee56d4a19e2d36a5a24b6dbfd298298bf1 (patch)
treea51cf805259a3c8661d6261657ed061dc1992d57 /drivers/media/video/ivtv/ivtv-i2c.h
parentV4L/DVB (13442): ivtv: Add module parameter to adjust I2C SCL clock period pe... (diff)
downloadkernel-qcow2-linux-bfbde8ee56d4a19e2d36a5a24b6dbfd298298bf1.tar.gz
kernel-qcow2-linux-bfbde8ee56d4a19e2d36a5a24b6dbfd298298bf1.tar.xz
kernel-qcow2-linux-bfbde8ee56d4a19e2d36a5a24b6dbfd298298bf1.zip
V4L/DVB (13443): ivtv: Defer legacy I2C IR probing until after setup of known I2C devices
This avoids collisions of legacy IR controller probing with known I2C devices in the card definitions in ivtv-cards.c. I2C driver modules for device listed explicitly in a card definition should always take precedence over a probe guessing where and IR controller may be. Reviewed-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Andy Walls <awalls@radix.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-i2c.h')
-rw-r--r--drivers/media/video/ivtv/ivtv-i2c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-i2c.h b/drivers/media/video/ivtv/ivtv-i2c.h
index 396928a06a54..9332920ca4ff 100644
--- a/drivers/media/video/ivtv/ivtv-i2c.h
+++ b/drivers/media/video/ivtv/ivtv-i2c.h
@@ -21,6 +21,7 @@
#ifndef IVTV_I2C_H
#define IVTV_I2C_H
+struct i2c_client *ivtv_i2c_new_ir_legacy(struct ivtv *itv);
int ivtv_i2c_register(struct ivtv *itv, unsigned idx);
struct v4l2_subdev *ivtv_find_hw(struct ivtv *itv, u32 hw);