[PATCH-2.4.26] cardbus cleanup

From: Willy TARREAU
Date: Sun Mar 28 2004 - 07:27:29 EST

Hi Marcelo,

in cardbus.c, cb_scan_slot() calls pci_scan_device() which is
undefined. Since it does not appear in any include, I added an
external reference to it in the file to kill the warning.

Please apply.

--- ./drivers/pcmcia/cardbus.c.orig Sun Mar 28 13:57:34 2004
+++ ./drivers/pcmcia/cardbus.c Sun Mar 28 13:59:24 2004
@@ -221,6 +221,8 @@
return -1;

+extern struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp);
struct pci_dev *cb_scan_slot(struct pci_dev *temp, struct list_head *list)
struct pci_dev *dev;

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/