Skip to content

Commit

Permalink
[PATCH] PCI Hotplug/powerpc: module build break
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
linas authored and Greg Kroah-Hartman committed Feb 1, 2006
1 parent 2181c97 commit dd8c499
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/pci/setup-res.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit dd8c499

Please sign in to comment.