Export ata_eh_analyze_ncq_error() for subsequent use by sata_mv, as suggested by Tejun. Signed-off-by: Mark Lord <mlord@xxxxxxxxx> --- checkpatch.pl complains about the new EXPORT not following the function, but it is done here the same as for all other libata-eh functions. --- old/drivers/ata/libata-core.c 2008-05-01 15:37:20.000000000 -0400 +++ linux/drivers/ata/libata-core.c 2008-05-01 18:57:09.000000000 -0400 @@ -6292,6 +6292,7 @@ EXPORT_SYMBOL_GPL(ata_eh_thaw_port); EXPORT_SYMBOL_GPL(ata_eh_qc_complete); EXPORT_SYMBOL_GPL(ata_eh_qc_retry); +EXPORT_SYMBOL_GPL(ata_eh_analyze_ncq_error); EXPORT_SYMBOL_GPL(ata_do_eh); EXPORT_SYMBOL_GPL(ata_std_error_handler); --- old/drivers/ata/libata-eh.c 2008-04-29 11:04:16.000000000 -0400 +++ linux/drivers/ata/libata-eh.c 2008-05-01 18:56:42.000000000 -0400 @@ -1357,7 +1357,7 @@ * LOCKING: * Kernel thread context (may sleep). */ -static void ata_eh_analyze_ncq_error(struct ata_link *link) +void ata_eh_analyze_ncq_error(struct ata_link *link) { struct ata_port *ap = link->ap; struct ata_eh_context *ehc = &link->eh_context; --- old/include/linux/libata.h 2008-05-01 15:37:21.000000000 -0400 +++ linux/include/linux/libata.h 2008-05-01 18:57:36.000000000 -0400 @@ -1039,6 +1039,7 @@ extern void ata_eh_qc_complete(struct ata_queued_cmd *qc); extern void ata_eh_qc_retry(struct ata_queued_cmd *qc); +extern void ata_eh_analyze_ncq_error(struct ata_link *link); extern void ata_do_eh(struct ata_port *ap, ata_prereset_fn_t prereset, ata_reset_fn_t softreset, ata_reset_fn_t hardreset, -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html