summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Isely2006-01-23 20:11:07 +0100
committerMauro Carvalho Chehab2006-01-23 20:11:07 +0100
commitc835ac24e2e3d5de7fff0620949b61228048e27b (patch)
treebbb76d12b09e3ea33afa4ac9e59f97091b6834fb
parentV4L/DVB (3417): make VP-3054 Secondary I2C Bus Support a Kconfig option. (diff)
downloadkernel-qcow2-linux-c835ac24e2e3d5de7fff0620949b61228048e27b.tar.gz
kernel-qcow2-linux-c835ac24e2e3d5de7fff0620949b61228048e27b.tar.xz
kernel-qcow2-linux-c835ac24e2e3d5de7fff0620949b61228048e27b.zip
V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887
- The tda9887 has an I2C id reserved for it, but it hasn't been using it. Probably an oversight. Fixed with this patch. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/video/tda9887.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c
index 5815649bdc78..7c71422f5d3f 100644
--- a/drivers/media/video/tda9887.c
+++ b/drivers/media/video/tda9887.c
@@ -876,7 +876,7 @@ static int tda9887_resume(struct device * dev)
/* ----------------------------------------------------------------------- */
static struct i2c_driver driver = {
- .id = -1, /* FIXME */
+ .id = I2C_DRIVERID_TDA9887,
.attach_adapter = tda9887_probe,
.detach_client = tda9887_detach,
.command = tda9887_command,