* [PATCH] 2.5.60 : drivers/media/video/tuner-3036.c
@ 2003-02-11 18:00 Frank Davis
0 siblings, 0 replies; only message in thread
From: Frank Davis @ 2003-02-11 18:00 UTC (permalink / raw)
To: linux-kernel; +Cc: fdavis
Hello all,
The following patch addresses bugzilla bug #342. Please review.
Regards,
Frank
--- linux/drivers/media/video/tuner-3036.c.old 2003-01-16 21:22:04.000000000 -0500
+++ linux/drivers/media/video/tuner-3036.c 2003-02-11 12:57:05.000000000 -0500
@@ -185,22 +185,20 @@
static struct i2c_driver
i2c_driver_tuner =
{
- "sab3036", /* name */
- I2C_DRIVERID_SAB3036, /* ID */
- I2C_DF_NOTIFY,
- tuner_probe,
- tuner_detach,
- tuner_command
+ .owner = THIS_MODULE,
+ .name = "sab3036", /* name */
+ .id = I2C_DRIVERID_SAB3036, /* ID */
+ .flags = I2C_DF_NOTIFY,
+ .attach_adapter = tuner_probe,
+ .detach_client = tuner_detach,
+ .command = tuner_command
};
static struct i2c_client client_template =
{
- "SAB3036", /* name */
- -1,
- 0,
- 0,
- NULL,
- &i2c_driver_tuner
+ .name = "SAB3036", /* name */
+ .id = -1,
+ .driver = &i2c_driver_tuner
};
int __init
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-02-11 17:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-11 18:00 [PATCH] 2.5.60 : drivers/media/video/tuner-3036.c Frank Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).