[PATCH pci] PCI: pci_host_assign_domain_nr() can be static

From: kbuild test robot
Date: Tue Mar 24 2015 - 10:16:46 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
host-bridge.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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);
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/