From: William Lee Irwin III <wli@holomorphy.com>
To: greg@kroah.com
Cc: linux-kernel@vger.kernel.org
Subject: make pci_scan_device() static
Date: Sun, 23 Feb 2003 03:34:24 -0800 [thread overview]
Message-ID: <20030223113424.GG27135@holomorphy.com> (raw)
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;
reply other threads:[~2003-02-23 11:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030223113424.GG27135@holomorphy.com \
--to=wli@holomorphy.com \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox