powerpc/pci: export pcibios_free_controller()
authorAndrew Donnellan <andrew.donnellan@au1.ibm.com>
Thu, 10 Sep 2015 06:28:34 +0000 (16:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Oct 2015 09:31:57 +0000 (20:31 +1100)
Export pcibios_free_controller(), so it can be used by the cxl module to
free virtual PHBs.

Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/pci-common.c

index 7587b2ae5f779d6b8c97cb48e8325db0770f42b4..0f7a60f1e9f6292ceb9f1ade5c67d2617d1aefb9 100644 (file)
@@ -100,6 +100,7 @@ void pcibios_free_controller(struct pci_controller *phb)
        if (phb->is_dynamic)
                kfree(phb);
 }
+EXPORT_SYMBOL_GPL(pcibios_free_controller);
 
 /*
  * The function is used to return the minimal alignment