linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: mvebu: Make mvebu_pcie_align_resource() static
@ 2013-10-07 23:38 Bjorn Helgaas
  2013-10-08  7:21 ` Thomas Petazzoni
  0 siblings, 1 reply; 5+ messages in thread
From: Bjorn Helgaas @ 2013-10-07 23:38 UTC (permalink / raw)
  To: Jason Cooper; +Cc: Thomas Petazzoni, linux-pci

mvebu_pcie_align_resource() is only used inside pci-mvebu.c, so
make it static.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/pci/host/pci-mvebu.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/pci/host/pci-mvebu.c b/drivers/pci/host/pci-mvebu.c
index 729d5a1..bf4ff23 100644
--- a/drivers/pci/host/pci-mvebu.c
+++ b/drivers/pci/host/pci-mvebu.c
@@ -673,11 +673,11 @@ static struct pci_bus *mvebu_pcie_scan_bus(int nr, struct pci_sys_data *sys)
 	return bus;
 }
 
-resource_size_t mvebu_pcie_align_resource(struct pci_dev *dev,
-					  const struct resource *res,
-					  resource_size_t start,
-					  resource_size_t size,
-					  resource_size_t align)
+static resource_size_t mvebu_pcie_align_resource(struct pci_dev *dev,
+						 const struct resource *res,
+						 resource_size_t start,
+						 resource_size_t size,
+						 resource_size_t align)
 {
 	if (dev->bus->number != 0)
 		return start;


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-10-09  1:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07 23:38 [PATCH] PCI: mvebu: Make mvebu_pcie_align_resource() static Bjorn Helgaas
2013-10-08  7:21 ` Thomas Petazzoni
2013-10-08 16:07   ` Bjorn Helgaas
2013-10-08 18:03     ` Jason Cooper
2013-10-09  1:29       ` Jingoo Han

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).