diff options
Diffstat (limited to 'drivers/ata/sata_nv.c')
-rw-r--r-- | drivers/ata/sata_nv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/sata_nv.c b/drivers/ata/sata_nv.c index df4d50dcffbc..67ba0f75f1e9 100644 --- a/drivers/ata/sata_nv.c +++ b/drivers/ata/sata_nv.c | |||
@@ -1459,7 +1459,7 @@ static void nv_ck804_thaw(struct ata_port *ap) | |||
1459 | writeb(mask, mmio_base + NV_INT_ENABLE_CK804); | 1459 | writeb(mask, mmio_base + NV_INT_ENABLE_CK804); |
1460 | } | 1460 | } |
1461 | 1461 | ||
1462 | static int nv_hardreset(struct ata_port *ap, unsigned int *class, | 1462 | static int nv_hardreset(struct ata_link *link, unsigned int *class, |
1463 | unsigned long deadline) | 1463 | unsigned long deadline) |
1464 | { | 1464 | { |
1465 | unsigned int dummy; | 1465 | unsigned int dummy; |
@@ -1468,7 +1468,7 @@ static int nv_hardreset(struct ata_port *ap, unsigned int *class, | |||
1468 | * some controllers. Don't classify on hardreset. For more | 1468 | * some controllers. Don't classify on hardreset. For more |
1469 | * info, see http://bugme.osdl.org/show_bug.cgi?id=3352 | 1469 | * info, see http://bugme.osdl.org/show_bug.cgi?id=3352 |
1470 | */ | 1470 | */ |
1471 | return sata_std_hardreset(ap, &dummy, deadline); | 1471 | return sata_std_hardreset(link, &dummy, deadline); |
1472 | } | 1472 | } |
1473 | 1473 | ||
1474 | static void nv_error_handler(struct ata_port *ap) | 1474 | static void nv_error_handler(struct ata_port *ap) |