Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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 <kaos@sgi.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b7561524
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -380,6 +380,7 @@ void pcibios_bus_to_resource(struct pci_dev *dev,
	res->start = region->start + offset;
	res->start = region->start + offset;
	res->end = region->end + offset;
	res->end = region->end + offset;
}
}
EXPORT_SYMBOL(pcibios_bus_to_resource);


static int __devinit is_valid_resource(struct pci_dev *dev, int idx)
static int __devinit is_valid_resource(struct pci_dev *dev, int idx)
{
{
+1 −0
Original line number Original line Diff line number Diff line
@@ -540,6 +540,7 @@ void pcibios_bus_to_resource(struct pci_dev *pdev, struct resource *res,


	pbm->parent->resource_adjust(pdev, res, root);
	pbm->parent->resource_adjust(pdev, res, root);
}
}
EXPORT_SYMBOL(pcibios_bus_to_resource);


char * __init pcibios_setup(char *str)
char * __init pcibios_setup(char *str)
{
{