saa5249.c compile fix for 2.5.54-kraxel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello!

The following patch make saa5249.c compile.

Regards,
-- 
Dirk Meul <dirk.meul@xxxxxxxx>
--- linux-2.5.54-kraxel/drivers/media/video/saa5249.c.orig	2002-12-16 03:08:14.000000000 +0100
+++ linux-2.5.54-kraxel/drivers/media/video/saa5249.c	2003-01-04 14:07:13.000000000 +0100
@@ -254,12 +254,13 @@
 
 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 = {

[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux