diff options
Diffstat (limited to 'drivers/ata/sata_fsl.c')
-rw-r--r-- | drivers/ata/sata_fsl.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index c47f2d4bf860..03629b687de4 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -991,25 +991,13 @@ err: | |||
991 | return -EIO; | 991 | return -EIO; |
992 | } | 992 | } |
993 | 993 | ||
994 | static int sata_fsl_hardreset(struct ata_port *ap, unsigned int *class, | ||
995 | unsigned long deadline) | ||
996 | { | ||
997 | int retval; | ||
998 | |||
999 | retval = sata_std_hardreset(ap, class, deadline); | ||
1000 | |||
1001 | DPRINTK("SATA FSL : in xx_hardreset, retval = 0x%d\n", retval); | ||
1002 | |||
1003 | return retval; | ||
1004 | } | ||
1005 | |||
1006 | static void sata_fsl_error_handler(struct ata_port *ap) | 994 | static void sata_fsl_error_handler(struct ata_port *ap) |
1007 | { | 995 | { |
1008 | 996 | ||
1009 | DPRINTK("in xx_error_handler\n"); | 997 | DPRINTK("in xx_error_handler\n"); |
1010 | 998 | ||
1011 | /* perform recovery */ | 999 | /* perform recovery */ |
1012 | ata_do_eh(ap, ata_std_prereset, sata_fsl_softreset, sata_fsl_hardreset, | 1000 | ata_do_eh(ap, ata_std_prereset, sata_fsl_softreset, sata_std_hardreset, |
1013 | ata_std_postreset); | 1001 | ata_std_postreset); |
1014 | } | 1002 | } |
1015 | 1003 | ||