lkml.org 
[lkml]   [2015]   [Mar]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH pci] PCI: pci_host_assign_domain_nr() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
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);

\
 
 \ /
  Last update: 2015-03-24 15:21    [W:0.018 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site