2.6.x libata build fix
PATCH 1/1 2.6.x libata build fix
Please do a
bk pull bk://gkernel.bkbits.net/libata-2.6
This will update the following files:
drivers/scsi/sata_svw.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
through these ChangeSets:
<[email protected]> (04/11/14 1.2138)
[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 Jeff Garzik <[email protected]>
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 ;