Skip to contentSkip to conversation

fix sata_svw compile

PATCH New Christoph Hellwig 1 participant 1 message Nov 14, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix sata_svw compile

Current BK doesn't compile with the G5 defconfig because the last libata updated missed to change sata_svw to the new conventions.

drivers/scsi/sata_svw.c +1 -1
@@ -245,7 +245,7 @@
 		return 0;
 
 	/* Find the OF node for the PCI device proper */
-	np = pci_device_to_OF_node(ap->host_set->pdev);
+	np = pci_device_to_OF_node(to_pci_dev(ap->host_set->dev));
 	if (np == NULL)
 		return 0;