patch-2.3.38 linux/drivers/video/matroxfb.c

Next file: linux/fs/adfs/dir.c
Previous file: linux/drivers/video/fbmem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.37/linux/drivers/video/matroxfb.c linux/drivers/video/matroxfb.c
@@ -6020,8 +6020,8 @@
 		u_int16_t sid;
 
 		pci_read_config_byte(pdev, PCI_REVISION_ID, &rev);
-		svid = dev->subsystem_vendor;
-		sid = dev->subsystem_device;
+		svid = pdev->subsystem_vendor;
+		sid = pdev->subsystem_device;
 		for (b = dev_list; b->vendor; b++) {
 			if ((b->vendor != pdev->vendor) || (b->device != pdev->device) || (b->rev < rev)) continue;
 			if (b->svid)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)