patch-2.3.99-pre7 linux/drivers/video/imsttfb.c
Next file: linux/drivers/video/macmodes.c
Previous file: linux/drivers/video/fbcon.c
Back to the patch index
Back to the overall index
- Lines: 13
- Date:
Wed May 3 01:45:18 2000
- Orig file:
v2.3.99-pre6/linux/drivers/video/imsttfb.c
- Orig date:
Thu Jan 6 12:57:48 2000
diff -u --recursive --new-file v2.3.99-pre6/linux/drivers/video/imsttfb.c linux/drivers/video/imsttfb.c
@@ -1927,9 +1927,10 @@
while ((pdev = pci_find_device(PCI_VENDOR_ID_IMS, PCI_ANY_ID, pdev))) {
if ((pdev->class >> 16) != PCI_BASE_CLASS_DISPLAY)
continue;
- pci_enable_device(pdev);
+ if (pci_enable_device(pdev))
+ continue;
- addr = pdev->resource[0].start;
+ addr = pci_resource_start (pdev, 0);
if (!addr)
continue;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)