patch-2.4.25 linux-2.4.25/drivers/pcmcia/cardbus.c

Next file: linux-2.4.25/drivers/pcmcia/cistpl.c
Previous file: linux-2.4.25/drivers/pcmcia/au1000_pb1x00.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.24/drivers/pcmcia/cardbus.c linux-2.4.25/drivers/pcmcia/cardbus.c
@@ -223,7 +223,6 @@
 
 struct pci_dev *cb_scan_slot(struct pci_dev *temp, struct list_head *list)
 {
-	struct pci_bus *bus = temp->bus;
 	struct pci_dev *dev;
 	struct pci_dev *first_dev = NULL;
 	int func = 0;
@@ -369,7 +368,7 @@
 	return max;
 }
 
-static int program_bridge(struct pci_dev *bridge)
+static void program_bridge(struct pci_dev *bridge)
 {
 	u32 l;
 	

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