linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] PCI: iproc: export iproc_pcie_shutdown symbol
@ 2017-09-05  7:19 Arnd Bergmann
  2017-09-05  7:19 ` [PATCH 2/2] PCI: iproc: fix Stingray CRS defect handling Arnd Bergmann
  2017-09-05 13:42 ` [PATCH 1/2] PCI: iproc: export iproc_pcie_shutdown symbol Bjorn Helgaas
  0 siblings, 2 replies; 4+ messages in thread
From: Arnd Bergmann @ 2017-09-05  7:19 UTC (permalink / raw)
  To: Bjorn Helgaas
  Cc: Arnd Bergmann, Ray Jui, Scott Branden, Jon Mason,
	bcm-kernel-feedback-list, Oza Pawandeep, Lorenzo Pieralisi,
	linux-pci, linux-arm-kernel, linux-kernel

The shutdown bugfix introduce a build regression for allmodconfig
kernels as the new function is not exported:

ERROR: "iproc_pcie_shutdown" [drivers/pci/host/pcie-iproc-platform.ko] undefined!

This adds the missing export.

Fixes: 2a9912565c05 ("PCI: iproc: Add 500ms delay during device shutdown")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 drivers/pci/host/pcie-iproc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/host/pcie-iproc.c b/drivers/pci/host/pcie-iproc.c
index 8bd5e544b1c1..d7f4c29aed96 100644
--- a/drivers/pci/host/pcie-iproc.c
+++ b/drivers/pci/host/pcie-iproc.c
@@ -704,6 +704,7 @@ int iproc_pcie_shutdown(struct iproc_pcie *pcie)
 
 	return 0;
 }
+EXPORT_SYMBOL_GPL(iproc_pcie_shutdown);
 
 static int iproc_pcie_check_link(struct iproc_pcie *pcie)
 {
-- 
2.9.0

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

end of thread, other threads:[~2017-09-05 17:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-05  7:19 [PATCH 1/2] PCI: iproc: export iproc_pcie_shutdown symbol Arnd Bergmann
2017-09-05  7:19 ` [PATCH 2/2] PCI: iproc: fix Stingray CRS defect handling Arnd Bergmann
2017-09-05 17:57   ` Bjorn Helgaas
2017-09-05 13:42 ` [PATCH 1/2] PCI: iproc: export iproc_pcie_shutdown symbol Bjorn Helgaas

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).