diff mbox series

[1/2] PCI: iproc: export iproc_pcie_shutdown symbol

Message ID 20170905072004.3959082-1-arnd@arndb.de
State New
Headers show
Series [1/2] PCI: iproc: export iproc_pcie_shutdown symbol | expand

Commit Message

Arnd Bergmann Sept. 5, 2017, 7:19 a.m. UTC
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(+)

-- 
2.9.0

Comments

Bjorn Helgaas Sept. 5, 2017, 1:42 p.m. UTC | #1
On Tue, Sep 05, 2017 at 09:19:44AM +0200, Arnd Bergmann wrote:
> 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>


Folded into the 2a9912565c05 commit, thanks!

> ---

>  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

> 

> 

> _______________________________________________

> linux-arm-kernel mailing list

> linux-arm-kernel@lists.infradead.org

> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox series

Patch

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