patch-2.4.0-test11 linux/drivers/media/video/saa5249.c

Next file: linux/drivers/media/video/stradis.c
Previous file: linux/drivers/media/video/pms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test10/linux/drivers/media/video/saa5249.c linux/drivers/media/video/saa5249.c
@@ -669,15 +669,12 @@
 
 static struct video_device saa_template =
 {
-	IF_NAME,
-	VID_TYPE_TELETEXT,	/*| VID_TYPE_TUNER ?? */
-	VID_HARDWARE_SAA5249,
-	saa5249_open,
-	saa5249_release,
-	NULL,			/* read */
-	saa5249_write,
-	NULL,			/* poll */
-	saa5249_ioctl,
-	/* the rest are null */
+	name:		IF_NAME,
+	type:		VID_TYPE_TELETEXT,	/*| VID_TYPE_TUNER ?? */
+	hardware:	VID_HARDWARE_SAA5249,
+	open:		saa5249_open,
+	close:		saa5249_release,
+	write:		saa5249_write,
+	ioctl:		saa5249_ioctl,
 };
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)