diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-10 23:25:31 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-10 23:25:31 -0800 |
commit | 91a2cf51903acbc90f5b4d2453ddcafa09f8d20a (patch) | |
tree | 98226aac3ed024a27055226fec833bc93178de51 /pci | |
parent | 99eb0023004a97a8cfdec3b41328d5ea1de38dd8 (diff) | |
download | patches-91a2cf51903acbc90f5b4d2453ddcafa09f8d20a.tar.gz |
added more patches
Diffstat (limited to 'pci')
-rw-r--r-- | pci/pci-hotplug-powerpc-module-build-break.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pci/pci-hotplug-powerpc-module-build-break.patch b/pci/pci-hotplug-powerpc-module-build-break.patch new file mode 100644 index 0000000000000..24350b1d96a56 --- /dev/null +++ b/pci/pci-hotplug-powerpc-module-build-break.patch @@ -0,0 +1,35 @@ +From linas@austin.ibm.com Tue Jan 10 13:18:42 2006 +From: linas@austin.ibm.com (linas) +Date: Tue, 10 Jan 2006 15:15:47 -0600 +To: greg@kroah.com +Cc: <johnrose@us.ibm.com>, Olaf Hering <olh@suse.de> +Subject: [PATCH 1/2] PCI Hotplug/powerpc: module build break +Message-ID: <20060110211547.GM26221@austin.ibm.com> +Content-Disposition: inline + + +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> + + +--- + drivers/pci/setup-res.c | 1 + + 1 file changed, 1 insertion(+) + +--- gregkh-2.6.orig/drivers/pci/setup-res.c ++++ gregkh-2.6/drivers/pci/setup-res.c +@@ -112,6 +112,7 @@ pci_claim_resource(struct pci_dev *dev, + + return err; + } ++EXPORT_SYMBOL_GPL(pci_claim_resource); + + int pci_assign_resource(struct pci_dev *dev, int resno) + { |