lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: fix 3036 tuner
Date
From
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.60-ref/drivers/media/video/tuner-3036.c linux-2.5.60-ac1/drivers/media/video/tuner-3036.c
--- linux-2.5.60-ref/drivers/media/video/tuner-3036.c 2003-02-14 21:21:32.000000000 +0000
+++ linux-2.5.60-ac1/drivers/media/video/tuner-3036.c 2003-02-14 19:10:34.000000000 +0000
@@ -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",
+ .id = I2C_DRIVERID_SAB3036,
+ .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",
+ .id = -1,
+ .driver = &i2c_driver_tuner
};

int __init
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.072 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site