提交 43727fbc 编写于 作者: J Jeff Garzik

[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: NJeff Garzik <jeff@garzik.org>
上级 35177265
......@@ -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);
......
......@@ -701,6 +701,7 @@ static inline int ata_port_is_dummy(struct ata_port *ap)
return ap->ops == &ata_dummy_port_ops;
}
extern void sata_print_link_status(struct ata_port *ap);
extern void ata_port_probe(struct ata_port *);
extern void __sata_phy_reset(struct ata_port *ap);
extern void sata_phy_reset(struct ata_port *ap);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册