patch-2.4.5 linux/drivers/media/video/stradis.c
Next file: linux/drivers/media/video/tda9875.c
Previous file: linux/drivers/media/video/saa7185.c
Back to the patch index
Back to the overall index
- Lines: 19
- Date:
Sat May 19 17:43:06 2001
- Orig file:
v2.4.4/linux/drivers/media/video/stradis.c
- Orig date:
Thu Apr 19 09:34:05 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/media/video/stradis.c linux/drivers/media/video/stradis.c
@@ -63,6 +63,9 @@
static int saa_num = 0; /* number of SAA7146s in use */
+static int video_nr = -1;
+MODULE_PARM(video_nr,"i");
+
#define nDebNormal 0x00480000
#define nDebNoInc 0x00480000
#define nDebVideo 0xd0480000
@@ -2073,7 +2076,7 @@
return result;
}
pci_set_master(dev);
- if (video_register_device(&saa->video_dev, VFL_TYPE_GRABBER) < 0) {
+ if (video_register_device(&saa->video_dev, VFL_TYPE_GRABBER, video_nr) < 0) {
iounmap(saa->saa7146_mem);
return -1;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)