[PATCH] fix sata_svw compile

From: Christoph Hellwig
Date: Sun Nov 14 2004 - 05:04:23 EST


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


--- 1.28/drivers/scsi/sata_svw.c 2004-11-13 20:24:05 +01:00
+++ edited/drivers/scsi/sata_svw.c 2004-11-14 10:52:21 +01:00
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/