mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch 2.6.13-rc6] Export pcibios_bus_to_resource on ia64 and sparc64
@ 2005-08-10 12:12 Keith Owens
  0 siblings, 0 replies; only message in thread
From: Keith Owens @ 2005-08-10 12:12 UTC (permalink / raw)
  To: linux-kernel; +Cc: davem

IA64 gets *** Warning: "pcibios_bus_to_resource"
[drivers/pcmcia/yenta_socket.ko] undefined!.  Trivial fix, export
pcibios_bus_to_resource.  Also export it on sparc64, which is the only
other architecture that defines pcibios_bus_to_resource but does not
export it.

Signed-off-by: Keith Owens <kaos@sgi.com>

Index: linux/arch/ia64/pci/pci.c
===================================================================
--- linux.orig/arch/ia64/pci/pci.c	2005-08-08 21:57:47.415210784 +1000
+++ linux/arch/ia64/pci/pci.c	2005-08-10 22:08:01.218842356 +1000
@@ -380,6 +380,7 @@ void pcibios_bus_to_resource(struct pci_
 	res->start = region->start + offset;
 	res->end = region->end + offset;
 }
+EXPORT_SYMBOL(pcibios_bus_to_resource);
 
 static int __devinit is_valid_resource(struct pci_dev *dev, int idx)
 {
Index: linux/arch/sparc64/kernel/pci.c
===================================================================
--- linux.orig/arch/sparc64/kernel/pci.c	2005-08-10 13:57:47.295579310 +1000
+++ linux/arch/sparc64/kernel/pci.c	2005-08-10 22:09:23.573376709 +1000
@@ -540,6 +540,7 @@ void pcibios_bus_to_resource(struct pci_
 
 	pbm->parent->resource_adjust(pdev, res, root);
 }
+EXPORT_SYMBOL(pcibios_bus_to_resource);
 
 char * __init pcibios_setup(char *str)
 {


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-08-10 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-10 12:12 [patch 2.6.13-rc6] Export pcibios_bus_to_resource on ia64 and sparc64 Keith Owens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome