make pci_scan_device() static

William Lee Irwin III (wli@holomorphy.com)
Sun, 23 Feb 2003 03:34:24 -0800


Make pci_scan_device() static, as it's not called outside probe.c

$ grep -nr pci_scan_device .
./drivers/pci/probe.c:430:struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp)
./drivers/pci/probe.c:484: dev = pci_scan_device(temp);

===== drivers/pci/probe.c 1.29 vs edited =====
--- 1.29/drivers/pci/probe.c Tue Feb 18 03:14:13 2003
+++ edited/drivers/pci/probe.c Sun Feb 23 03:30:48 2003
@@ -427,7 +427,7 @@
* Read the config data for a PCI device, sanity-check it
* and fill in the dev structure...
*/
-struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp)
+static struct pci_dev * __devinit pci_scan_device(struct pci_dev *temp)
{
struct pci_dev *dev;
u32 l;
-
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/