diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-21 04:51:11 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-25 00:46:09 -0400 |
commit | 6bdb4fc9f9e5307012f6f2afb8642b52dad9c186 (patch) | |
tree | 32de6cd571b74e74374c42c30c1fc241c42eb2e3 | |
parent | 66a9099e02e3fca5198ab52b4bb7088f03dee42e (diff) |
make sata_print_link_status() static
sata_print_link_status() can now become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-rw-r--r-- | drivers/ata/libata-core.c | 3 | ||||
-rw-r--r-- | include/linux/libata.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index fe5c88ba977e..ce76702af1ee 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -2616,7 +2616,7 @@ void ata_port_probe(struct ata_port *ap) | |||
2616 | * LOCKING: | 2616 | * LOCKING: |
2617 | * None. | 2617 | * None. |
2618 | */ | 2618 | */ |
2619 | void sata_print_link_status(struct ata_link *link) | 2619 | static void sata_print_link_status(struct ata_link *link) |
2620 | { | 2620 | { |
2621 | u32 sstatus, scontrol, tmp; | 2621 | u32 sstatus, scontrol, tmp; |
2622 | 2622 | ||
@@ -6208,7 +6208,6 @@ EXPORT_SYMBOL_GPL(ata_host_detach); | |||
6208 | EXPORT_SYMBOL_GPL(ata_sg_init); | 6208 | EXPORT_SYMBOL_GPL(ata_sg_init); |
6209 | EXPORT_SYMBOL_GPL(ata_qc_complete); | 6209 | EXPORT_SYMBOL_GPL(ata_qc_complete); |
6210 | EXPORT_SYMBOL_GPL(ata_qc_complete_multiple); | 6210 | EXPORT_SYMBOL_GPL(ata_qc_complete_multiple); |
6211 | EXPORT_SYMBOL_GPL(sata_print_link_status); | ||
6212 | EXPORT_SYMBOL_GPL(atapi_cmd_type); | 6211 | EXPORT_SYMBOL_GPL(atapi_cmd_type); |
6213 | EXPORT_SYMBOL_GPL(ata_tf_to_fis); | 6212 | EXPORT_SYMBOL_GPL(ata_tf_to_fis); |
6214 | EXPORT_SYMBOL_GPL(ata_tf_from_fis); | 6213 | EXPORT_SYMBOL_GPL(ata_tf_from_fis); |
diff --git a/include/linux/libata.h b/include/linux/libata.h index 07ed56f7a767..395a523d8c30 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -847,7 +847,6 @@ static inline int ata_port_is_dummy(struct ata_port *ap) | |||
847 | return ap->ops == &ata_dummy_port_ops; | 847 | return ap->ops == &ata_dummy_port_ops; |
848 | } | 848 | } |
849 | 849 | ||
850 | extern void sata_print_link_status(struct ata_link *link); | ||
851 | extern void ata_port_probe(struct ata_port *); | 850 | extern void ata_port_probe(struct ata_port *); |
852 | extern int sata_set_spd(struct ata_link *link); | 851 | extern int sata_set_spd(struct ata_link *link); |
853 | extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); | 852 | extern int ata_std_prereset(struct ata_link *link, unsigned long deadline); |