lkml.org 
[lkml]   [2004]   [Nov]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateSun, 14 Nov 2004 11:03:20 +0100
FromChristoph Hellwig <>
Subject[PATCH] 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.


--- 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 14:08    [from the cache]
©2003-2008