diff options
author | linas <linas@austin.ibm.com> | 2006-01-10 16:15:47 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-31 21:00:12 -0500 |
commit | dd8c49966854a5245f3ed4769c9114e7afd819ef (patch) | |
tree | 3078de189a3168e4c07bf1cda2f9521f55fb50b8 | |
parent | 2181c971952ec2af56cd9cc68453f7ad5a0a38d6 (diff) |
[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>
-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) | |||
112 | 112 | ||
113 | return err; | 113 | return err; |
114 | } | 114 | } |
115 | EXPORT_SYMBOL_GPL(pci_claim_resource); | ||
115 | 116 | ||
116 | int pci_assign_resource(struct pci_dev *dev, int resno) | 117 | int pci_assign_resource(struct pci_dev *dev, int resno) |
117 | { | 118 | { |