summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-02-25 16:50:52 -0500
committerJeff Garzik <jeff@garzik.org>2007-04-28 14:15:54 -0400
commit43727fbc753c63f9d2764c56467303698cc52c14 (patch)
tree66f4d58a5e9098f85e95636abbce675ebea8c523 /drivers/ata
parent351772658a4d1acc0221a6e30676bb0594e74812 (diff)
downloadkernel-crypto-43727fbc753c63f9d2764c56467303698cc52c14.tar.gz
kernel-crypto-43727fbc753c63f9d2764c56467303698cc52c14.tar.xz
kernel-crypto-43727fbc753c63f9d2764c56467303698cc52c14.zip
[libata] export sata_print_link_status()
To be used in sata_mv's exception handling code, and overall is a generally useful function. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-core.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c
index 0abd72d0dec..e7ad13d43c9 100644
--- a/drivers/ata/libata-core.c
+++ b/drivers/ata/libata-core.c
@@ -1958,7 +1958,7 @@ void ata_port_probe(struct ata_port *ap)
* LOCKING:
* None.
*/
-static void sata_print_link_status(struct ata_port *ap)
+void sata_print_link_status(struct ata_port *ap)
{
u32 sstatus, scontrol, tmp;
@@ -6360,6 +6360,7 @@ EXPORT_SYMBOL_GPL(ata_tf_load);
EXPORT_SYMBOL_GPL(ata_tf_read);
EXPORT_SYMBOL_GPL(ata_noop_dev_select);
EXPORT_SYMBOL_GPL(ata_std_dev_select);
+EXPORT_SYMBOL_GPL(sata_print_link_status);
EXPORT_SYMBOL_GPL(ata_tf_to_fis);
EXPORT_SYMBOL_GPL(ata_tf_from_fis);
EXPORT_SYMBOL_GPL(ata_check_status);