提交 6bdb4fc9 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

make sata_print_link_status() static

sata_print_link_status() can now become static.
Signed-off-by: NAdrian Bunk <bunk@kernel.org>
Signed-off-by: NJeff Garzik <jgarzik@redhat.com>
上级 66a9099e
...@@ -2616,7 +2616,7 @@ void ata_port_probe(struct ata_port *ap) ...@@ -2616,7 +2616,7 @@ void ata_port_probe(struct ata_port *ap)
* LOCKING: * LOCKING:
* None. * None.
*/ */
void sata_print_link_status(struct ata_link *link) static void sata_print_link_status(struct ata_link *link)
{ {
u32 sstatus, scontrol, tmp; u32 sstatus, scontrol, tmp;
...@@ -6208,7 +6208,6 @@ EXPORT_SYMBOL_GPL(ata_host_detach); ...@@ -6208,7 +6208,6 @@ EXPORT_SYMBOL_GPL(ata_host_detach);
EXPORT_SYMBOL_GPL(ata_sg_init); EXPORT_SYMBOL_GPL(ata_sg_init);
EXPORT_SYMBOL_GPL(ata_qc_complete); EXPORT_SYMBOL_GPL(ata_qc_complete);
EXPORT_SYMBOL_GPL(ata_qc_complete_multiple); EXPORT_SYMBOL_GPL(ata_qc_complete_multiple);
EXPORT_SYMBOL_GPL(sata_print_link_status);
EXPORT_SYMBOL_GPL(atapi_cmd_type); EXPORT_SYMBOL_GPL(atapi_cmd_type);
EXPORT_SYMBOL_GPL(ata_tf_to_fis); EXPORT_SYMBOL_GPL(ata_tf_to_fis);
EXPORT_SYMBOL_GPL(ata_tf_from_fis); EXPORT_SYMBOL_GPL(ata_tf_from_fis);
......
...@@ -847,7 +847,6 @@ static inline int ata_port_is_dummy(struct ata_port *ap) ...@@ -847,7 +847,6 @@ static inline int ata_port_is_dummy(struct ata_port *ap)
return ap->ops == &ata_dummy_port_ops; return ap->ops == &ata_dummy_port_ops;
} }
extern void sata_print_link_status(struct ata_link *link);
extern void ata_port_probe(struct ata_port *); extern void ata_port_probe(struct ata_port *);
extern int sata_set_spd(struct ata_link *link); extern int sata_set_spd(struct ata_link *link);
extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); extern int ata_std_prereset(struct ata_link *link, unsigned long deadline);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册