patch-2.4.0-test11 linux/drivers/media/video/stradis.c
Next file: linux/drivers/media/video/tda7432.c
Previous file: linux/drivers/media/video/saa5249.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Fri Nov 17 17:56:51 2000
- Orig file:
v2.4.0-test10/linux/drivers/media/video/stradis.c
- Orig date:
Wed Jul 5 10:56:13 2000
diff -u --recursive --new-file v2.4.0-test10/linux/drivers/media/video/stradis.c linux/drivers/media/video/stradis.c
@@ -1827,11 +1827,6 @@
return 0;
}
-static int saa_init_done(struct video_device *dev)
-{
- return 0;
-}
-
static int saa_mmap(struct video_device *dev, const char *adr,
unsigned long size)
{
@@ -1993,20 +1988,15 @@
/* template for video_device-structure */
static struct video_device saa_template =
{
- "SAA7146A",
- VID_TYPE_CAPTURE | VID_TYPE_OVERLAY,
- VID_HARDWARE_SAA7146,
- saa_open,
- saa_close,
- saa_read,
- saa_write,
- NULL, /* poll */
- saa_ioctl,
- saa_mmap,
- saa_init_done,
- NULL,
- 0,
- 0
+ name: "SAA7146A",
+ type: VID_TYPE_CAPTURE | VID_TYPE_OVERLAY,
+ hardware: VID_HARDWARE_SAA7146,
+ open: saa_open,
+ close: saa_close,
+ read: saa_read,
+ write: saa_write,
+ ioctl: saa_ioctl,
+ mmap: saa_mmap,
};
static int configure_saa7146(struct pci_dev *dev, int num)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)