summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/sys_nautilus.c
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-12-07 05:33:59 +0100
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 17:39:26 +0100
commit074cec54d1049ab580ecd0026623b553e0e270c4 (patch)
tree46de20e33bee156e7edb948b1d8acbf46c67c80a /arch/alpha/kernel/sys_nautilus.c
parent[PATCH] h8300 stray bracket fix (diff)
downloadlinux-074cec54d1049ab580ecd0026623b553e0e270c4.tar.xz
linux-074cec54d1049ab580ecd0026623b553e0e270c4.zip
[PATCH] alpha: switch to pci_get API
Now that we have pci_get_bus_and_slot we can do the job correctly. Note that some of these calls intentionally leak a device - this is because the device in question is always needed from boot to reboot. Signed-off-by: Alan Cox <alan@redhat.com> Cc: Richard Henderson <rth@twiddle.net> Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/alpha/kernel/sys_nautilus.c')
-rw-r--r--arch/alpha/kernel/sys_nautilus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/sys_nautilus.c b/arch/alpha/kernel/sys_nautilus.c
index 93744bab73fb..e7594a7cf585 100644
--- a/arch/alpha/kernel/sys_nautilus.c
+++ b/arch/alpha/kernel/sys_nautilus.c
@@ -200,7 +200,7 @@ nautilus_init_pci(void)
bus = pci_scan_bus(0, alpha_mv.pci_ops, hose);
hose->bus = bus;
- irongate = pci_find_slot(0, 0);
+ irongate = pci_get_bus_and_slot(0, 0);
bus->self = irongate;
bus->resource[1] = &irongate_mem;