[PATCH] Export pcibios_bus_to_resource
authorKeith Owens <kaos@sgi.com>
Wed, 24 Aug 2005 06:06:25 +0000 (16:06 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 24 Aug 2005 17:22:44 +0000 (10:22 -0700)
pcibios_bus_to_resource is exported on all architectures except ia64
and sparc.  Add exports for the two missing architectures.  Needed when
Yenta socket support is compiled as a module.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/ia64/pci/pci.c
arch/sparc64/kernel/pci.c

index 54d9ed4..f9472c5 100644 (file)
@@ -380,6 +380,7 @@ void pcibios_bus_to_resource(struct pci_dev *dev,
        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 bba140d..f21c993 100644 (file)
@@ -540,6 +540,7 @@ void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res,
 
        pbm->parent->resource_adjust(pdev, res, root);
 }
+EXPORT_SYMBOL(pcibios_bus_to_resource);
 
 char * __init pcibios_setup(char *str)
 {