diff options
Diffstat (limited to 'drivers/ata/libahci.c')
-rw-r--r-- | drivers/ata/libahci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/libahci.c b/drivers/ata/libahci.c index b67086fde1f1..7e2a1b38093e 100644 --- a/drivers/ata/libahci.c +++ b/drivers/ata/libahci.c | |||
@@ -89,7 +89,6 @@ static int ahci_pmp_retry_softreset(struct ata_link *link, unsigned int *class, | |||
89 | static int ahci_hardreset(struct ata_link *link, unsigned int *class, | 89 | static int ahci_hardreset(struct ata_link *link, unsigned int *class, |
90 | unsigned long deadline); | 90 | unsigned long deadline); |
91 | static void ahci_postreset(struct ata_link *link, unsigned int *class); | 91 | static void ahci_postreset(struct ata_link *link, unsigned int *class); |
92 | static void ahci_error_handler(struct ata_port *ap); | ||
93 | static void ahci_post_internal_cmd(struct ata_queued_cmd *qc); | 92 | static void ahci_post_internal_cmd(struct ata_queued_cmd *qc); |
94 | static void ahci_dev_config(struct ata_device *dev); | 93 | static void ahci_dev_config(struct ata_device *dev); |
95 | #ifdef CONFIG_PM | 94 | #ifdef CONFIG_PM |
@@ -1982,7 +1981,7 @@ static void ahci_thaw(struct ata_port *ap) | |||
1982 | writel(pp->intr_mask, port_mmio + PORT_IRQ_MASK); | 1981 | writel(pp->intr_mask, port_mmio + PORT_IRQ_MASK); |
1983 | } | 1982 | } |
1984 | 1983 | ||
1985 | static void ahci_error_handler(struct ata_port *ap) | 1984 | void ahci_error_handler(struct ata_port *ap) |
1986 | { | 1985 | { |
1987 | if (!(ap->pflags & ATA_PFLAG_FROZEN)) { | 1986 | if (!(ap->pflags & ATA_PFLAG_FROZEN)) { |
1988 | /* restart engine */ | 1987 | /* restart engine */ |
@@ -1995,6 +1994,7 @@ static void ahci_error_handler(struct ata_port *ap) | |||
1995 | if (!ata_dev_enabled(ap->link.device)) | 1994 | if (!ata_dev_enabled(ap->link.device)) |
1996 | ahci_stop_engine(ap); | 1995 | ahci_stop_engine(ap); |
1997 | } | 1996 | } |
1997 | EXPORT_SYMBOL_GPL(ahci_error_handler); | ||
1998 | 1998 | ||
1999 | static void ahci_post_internal_cmd(struct ata_queued_cmd *qc) | 1999 | static void ahci_post_internal_cmd(struct ata_queued_cmd *qc) |
2000 | { | 2000 | { |