summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2008-11-22 17:37:04 +0000
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-30 10:03:37 -0800
commit4bcc17dd8e48b612d43a9b0a6faa9eaa358fa4bd (patch)
treea2199211188812c388616451d1e4cc3c828170c6
parent56d74dd5f7ad8b6b0979ce915d51cf03bcc57267 (diff)
downloadblackbird-op-linux-4bcc17dd8e48b612d43a9b0a6faa9eaa358fa4bd.tar.gz
blackbird-op-linux-4bcc17dd8e48b612d43a9b0a6faa9eaa358fa4bd.zip
alpha: pcibios_resource_to_bus() is callable from normal code
pci_enable_rom(), specifically. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/alpha/kernel/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/pci.c b/arch/alpha/kernel/pci.c
index 5cf45fc51343..ff8cb638472e 100644
--- 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)
{
OpenPOWER on IntegriCloud