patch-2.3.25 linux/drivers/pci/helper.c

Next file: linux/drivers/pci/pcisyms.c
Previous file: linux/drivers/pci/devlist.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/drivers/pci/helper.c linux/drivers/pci/helper.c
@@ -13,11 +13,12 @@
 #include <linux/pci.h>
 
 
-int pci_simple_probe (struct pci_simple_probe_entry *list, size_t match_limit,
-		      pci_simple_probe_callback cb, void *drvr_data)
+int pci_simple_probe (const struct pci_simple_probe_entry *list,
+		      size_t match_limit, pci_simple_probe_callback cb,
+		      void *drvr_data)
 {
 	struct pci_dev *dev;
-	struct pci_simple_probe_entry *ent;
+	const struct pci_simple_probe_entry *ent;
 	size_t matches = 0;
 	unsigned short vendor, device;
 	int rc;

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