Messages in this thread Patch in this message | | | Date | Sun, 28 Mar 2004 14:24:47 +0200 | From | Willy TARREAU <> | Subject | [PATCH-2.4.26] cardbus cleanup |
| |
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. Willy
--- ./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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |