aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/alpha/kernel/sys_alcor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/alpha/kernel/sys_alcor.c b/arch/alpha/kernel/sys_alcor.c
index 145dcde143ae..d7f0e97fe56f 100644
--- a/arch/alpha/kernel/sys_alcor.c
+++ b/arch/alpha/kernel/sys_alcor.c
@@ -254,7 +254,7 @@ alcor_init_pci(void)
254 * motherboard, by looking for a 21040 TULIP in slot 6, which is 254 * motherboard, by looking for a 21040 TULIP in slot 6, which is
255 * built into XLT and BRET/MAVERICK, but not available on ALCOR. 255 * built into XLT and BRET/MAVERICK, but not available on ALCOR.
256 */ 256 */
257 dev = pci_find_device(PCI_VENDOR_ID_DEC, 257 dev = pci_get_device(PCI_VENDOR_ID_DEC,
258 PCI_DEVICE_ID_DEC_TULIP, 258 PCI_DEVICE_ID_DEC_TULIP,
259 NULL); 259 NULL);
260 if (dev && dev->devfn == PCI_DEVFN(6,0)) { 260 if (dev && dev->devfn == PCI_DEVFN(6,0)) {
@@ -262,6 +262,7 @@ alcor_init_pci(void)
262 printk(KERN_INFO "%s: Detected AS500 or XLT motherboard.\n", 262 printk(KERN_INFO "%s: Detected AS500 or XLT motherboard.\n",
263 __FUNCTION__); 263 __FUNCTION__);
264 } 264 }
265 pci_dev_put(dev);
265} 266}
266 267
267 268