[PATCH] 2.5.60 : drivers/media/video/saa5249.c

Frank Davis (fdavis@si.rr.com)
Tue, 11 Feb 2003 13:37:22 -0500 (EST)


Hello all,
The following addresses bugzilla bug # 340. Please review.

Regards,
Frank

--- linux/drivers/media/video/saa5249.c.old 2003-02-10 15:33:58.000000000 -0500
+++ linux/drivers/media/video/saa5249.c 2003-02-11 13:34:07.000000000 -0500
@@ -254,21 +254,19 @@

static struct i2c_driver i2c_driver_videotext =
{
- IF_NAME, /* name */
- I2C_DRIVERID_SAA5249, /* in i2c.h */
- I2C_DF_NOTIFY,
- saa5249_probe,
- saa5249_detach,
- saa5249_command
+ .owner = THIS_MODULE,
+ .name = IF_NAME, /* name */
+ .id = I2C_DRIVERID_SAA5249, /* in i2c.h */
+ .flags = I2C_DF_NOTIFY,
+ .attach_adapter = saa5249_probe,
+ .detach_client = saa5249_detach,
+ .command = saa5249_command
};

static struct i2c_client client_template = {
- "(unset)",
- -1,
- 0,
- 0,
- NULL,
- &i2c_driver_videotext
+ .name = "(unset)",
+ .id = -1,
+ .driver = &i2c_driver_videotext
};

/*

-
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/