[PATCH] PCI Hotplug/powerpc: module build break
authorlinas <[email protected]>
Tue, 10 Jan 2006 21:15:47 +0000 (15:15 -0600)
committerGreg Kroah-Hartman <[email protected]>
Wed, 1 Feb 2006 02:00:12 +0000 (18:00 -0800)
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 <[email protected]>

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 <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/pci/setup-res.c

index 50d6685dcbcce801682c9600a81be2a98f90f8a1..ea9277b7f8994120aed0b3d058da25de31e99c57 100644 (file)
@@ -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)
 {