2008-11-22 17:41:20

by Al Viro

[permalink] [raw]
Subject: [PATCH 23/32] alpha: pcibios_resource_to_bus() is callable from normal code


pci_enable_rom(), specifically.

Signed-off-by: Al Viro <[email protected]>
---
arch/alpha/kernel/pci.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c
--- a/arch/alpha/kernel/pci.c
+++ b/arch/alpha/kernel/pci.c
@@ -338,7 +338,7 @@ common_swizzle(struct pci_dev *dev, u8 *pinp)
return PCI_SLOT(dev->devfn);
}

-void __devinit
+void
pcibios_resource_to_bus(struct pci_dev *dev, struct pci_bus_region *region,
struct resource *res)
{