diff mbox

[pci] PCI: pci_host_assign_domain_nr() can be static

Message ID 20150324141621.GA47322@lkp-sb04 (mailing list archive)
State New, archived
Delegated to: Bjorn Helgaas
Headers show

Commit Message

Fengguang Wu March 24, 2015, 2:16 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 host-bridge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pci/host-bridge.c b/drivers/pci/host-bridge.c
index c78f4d0..6c2ca7c 100644
--- a/drivers/pci/host-bridge.c
+++ b/drivers/pci/host-bridge.c
@@ -217,7 +217,7 @@  static int pci_assign_domain_nr(struct device *dev)
 #endif
 #endif
 
-void pci_host_assign_domain_nr(struct pci_host_bridge *host)
+static void pci_host_assign_domain_nr(struct pci_host_bridge *host)
 {
 #ifdef CONFIG_PCI_DOMAINS_GENERIC
 	host->domain = pci_assign_domain_nr(host->dev.parent);