V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887
authorMike Isely <isely@pobox.com>
Mon, 23 Jan 2006 11:54:33 +0000 (09:54 -0200)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 23 Jan 2006 19:06:28 +0000 (17:06 -0200)
- 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>
drivers/media/video/tda9887.c

index 5815649bdc78e316f3fd40c655530909a3986321..7c71422f5d3f05bddeb09cbed0b3e7b1f61e8411 100644 (file)
@@ -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,