diff options
author | linas <linas@austin.ibm.com> | 2006-01-10 15:15:47 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 18:00:12 -0800 |
commit | dd8c49966854a5245f3ed4769c9114e7afd819ef (patch) | |
tree | 3078de189a3168e4c07bf1cda2f9521f55fb50b8 /drivers/pci/setup-res.c | |
parent | 2181c971952ec2af56cd9cc68453f7ad5a0a38d6 (diff) | |
download | linux-dd8c49966854a5245f3ed4769c9114e7afd819ef.tar.bz2 |
[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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/setup-res.c b/drivers/pci/setup-res.c index 50d6685dcbcc..ea9277b7f899 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) { |