From: linas Date: Tue, 10 Jan 2006 21:15:47 +0000 (-0600) Subject: [PATCH] PCI Hotplug/powerpc: module build break X-Git-Tag: v2.6.16-rc2~176^2~13 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd8c49966854a5245f3ed4769c9114e7afd819ef;p=linux-2.6 [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 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 50d6685dcb..ea9277b7f8 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) {