Commit bd5531b4 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Jeff Garzik

[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.
Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
parent 5fdc4ecc
...@@ -245,7 +245,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start, ...@@ -245,7 +245,7 @@ static int k2_sata_proc_info(struct Scsi_Host *shost, char *page, char **start,
return 0; return 0;
/* Find the OF node for the PCI device proper */ /* 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) if (np == NULL)
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment