mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] fix sata_svw compile
@ 2004-11-14 10:03 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2004-11-14 10:03 UTC (permalink / raw)
  To: torvalds, jgarzik; +Cc: linux-kernel

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;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-14 10:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-14 10:03 [PATCH] fix sata_svw compile Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome