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

From: kbuild test robot
Date: Mon Mar 23 2015 - 14:09:53 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 8efb3a7..61171c4 100644
--- a/drivers/pci/host-bridge.c
+++ b/drivers/pci/host-bridge.c
@@ -144,7 +144,7 @@ static struct pci_bus *find_pci_root_bus(struct pci_bus *bus)
return bus;
}

-struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus)
+static struct pci_host_bridge *pci_find_host_bridge(struct pci_bus *bus)
{
struct pci_bus *root_bus = find_pci_root_bus(bus);

--
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/