Regards.
Frank
--- linux/drivers/media/video/saa7110.c.old 2003-01-16 21:21:33.000000000 -0500
+++ linux/drivers/media/video/saa7110.c 2003-02-11 13:04:37.000000000 -0500
@@ -381,20 +381,18 @@
static struct i2c_driver i2c_driver_saa7110 =
{
- IF_NAME, /* name */
- I2C_DRIVERID_SAA7110, /* in i2c.h */
- I2C_DF_NOTIFY, /* Addr range */
- saa7110_probe,
- saa7110_detach,
- saa7110_command
+ .owner = THIS_MODULE,
+ .name = IF_NAME, /* name */
+ .id = I2C_DRIVERID_SAA7110, /* in i2c.h */
+ .flags = I2C_DF_NOTIFY, /* Addr range */
+ .attach_adapter = saa7110_probe,
+ .detach_client = saa7110_detach,
+ .command = saa7110_command
};
static struct i2c_client client_template = {
- "saa7110_client",
- -1,
- 0,
- 0,
- NULL,
- &i2c_driver_saa7110
+ .name = "saa7110_client",
+ .id = -1,
+ .driver = &i2c_driver_saa7110
};
static int saa7110_init(void)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/