public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* make pci_scan_device() static
@ 2003-02-23 11:34 William Lee Irwin III
  0 siblings, 0 replies; only message in thread
From: William Lee Irwin III @ 2003-02-23 11:34 UTC (permalink / raw)
  To: greg; +Cc: linux-kernel

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;

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-02-23 11:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-23 11:34 make pci_scan_device() static William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox