Commit 41290c14 authored by Keith Owens's avatar Keith Owens Committed by Linus Torvalds

[PATCH] Export pcibios_bus_to_resource

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: default avatarKeith Owens <>
Signed-off-by: default avatarLinus Torvalds <>
parent b7561524
......@@ -380,6 +380,7 @@ void pcibios_bus_to_resource(struct pci_dev *dev,
res->start = region->start + offset;
res->end = region->end + offset;
static int __devinit is_valid_resource(struct pci_dev *dev, int idx)
......@@ -540,6 +540,7 @@ void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res,
pbm->parent->resource_adjust(pdev, res, root);
char * __init pcibios_setup(char *str)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment