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

Commit 94517252 authored by Jiri Slaby's avatar Jiri Slaby Committed by Greg Kroah-Hartman
Browse files

[PATCH] PCI: pci_find_device remove (alpha/kernel/sys_alcor.c)



Signed-off-by: default avatarJiri Slaby <xslaby@fi.muni.cz>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7d51ceb3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -254,7 +254,7 @@ alcor_init_pci(void)
	 * motherboard, by looking for a 21040 TULIP in slot 6, which is
	 * built into XLT and BRET/MAVERICK, but not available on ALCOR.
	 */
	dev = pci_find_device(PCI_VENDOR_ID_DEC,
	dev = pci_get_device(PCI_VENDOR_ID_DEC,
			      PCI_DEVICE_ID_DEC_TULIP,
			      NULL);
	if (dev && dev->devfn == PCI_DEVFN(6,0)) {
@@ -262,6 +262,7 @@ alcor_init_pci(void)
		printk(KERN_INFO "%s: Detected AS500 or XLT motherboard.\n",
		       __FUNCTION__);
	}
	pci_dev_put(dev);
}