From: Mike Isely Date: Mon, 23 Jan 2006 19:11:07 +0000 (-0200) Subject: V4L/DVB (3418): Cause tda9887 to use I2C_DRIVERID_TDA9887 X-Git-Tag: v2.6.17-rc1~1183^2~172 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c835ac24e2e3d5de7fff0620949b61228048e27b;p=linux-2.6 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/tda9887.c b/drivers/media/video/tda9887.c index 5815649bdc..7c71422f5d 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,