summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-res.c
diff options
context:
space:
mode:
authorlinas <linas@austin.ibm.com>2006-01-10 15:15:47 -0600
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-31 18:00:12 -0800
commitdd8c49966854a5245f3ed4769c9114e7afd819ef (patch)
tree3078de189a3168e4c07bf1cda2f9521f55fb50b8 /drivers/pci/setup-res.c
parent2181c971952ec2af56cd9cc68453f7ad5a0a38d6 (diff)
downloadop-kernel-dev-dd8c49966854a5245f3ed4769c9114e7afd819ef.zip
op-kernel-dev-dd8c49966854a5245f3ed4769c9114e7afd819ef.tar.gz
[PATCH] PCI Hotplug/powerpc: module build break
The RPAPHP hoplug driver will not build as a module, because it calls on pci_claim_resource(), which is not exported. This exports the symbol. Problem reported by Olaf Hering <olh@suse.de> A grep indicates that building drivers/parisc/lba_pci.c would have trouble building as a module for the same reason. Signed-off-by: Linas Vepstas <linas@austin.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/setup-res.c')
-rw-r--r--drivers/pci/setup-res.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c
index 50d6685..ea9277b 100644
--- a/drivers/pci/setup-res.c
+++ b/drivers/pci/setup-res.c
@@ -112,6 +112,7 @@ pci_claim_resource(struct pci_dev *dev, int resource)
return err;
}
+EXPORT_SYMBOL_GPL(pci_claim_resource);
int pci_assign_resource(struct pci_dev *dev, int resno)
{
OpenPOWER on IntegriCloud