patch-2.3.41 linux/drivers/pci/compat.c
Next file: linux/drivers/pci/gen-devlist.c
Previous file: linux/drivers/parport/procfs.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Jan 24 11:04:36 2000
-  Orig file: 
v2.3.40/linux/drivers/pci/compat.c
-  Orig date: 
Fri Jan  7 19:13:22 2000
diff -u --recursive --new-file v2.3.40/linux/drivers/pci/compat.c linux/drivers/pci/compat.c
@@ -19,7 +19,7 @@
 int
 pcibios_find_class(unsigned int class, unsigned short index, unsigned char *bus, unsigned char *devfn)
 {
-	struct pci_dev *dev = NULL;
+	const struct pci_dev *dev = NULL;
 	int cnt = 0;
 
 	while ((dev = pci_find_class(class, dev)))
@@ -36,7 +36,7 @@
 pcibios_find_device(unsigned short vendor, unsigned short device, unsigned short index,
 		    unsigned char *bus, unsigned char *devfn)
 {
-	struct pci_dev *dev = NULL;
+	const struct pci_dev *dev = NULL;
 	int cnt = 0;
 
 	while ((dev = pci_find_device(vendor, device, dev)))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)