]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
make sata_print_link_status() static
authorAdrian Bunk <bunk@kernel.org>
Mon, 21 Apr 2008 08:51:11 +0000 (11:51 +0300)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 04:46:09 +0000 (00:46 -0400)
sata_print_link_status() can now become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata-core.c
include/linux/libata.h

index fe5c88ba977ef378b383c79ad7e83327189c0690..ce76702af1ee2086b4f2fbb7e6a1d71248737ec6 100644 (file)
@@ -2616,7 +2616,7 @@ void ata_port_probe(struct ata_port *ap)
  *     LOCKING:
  *     None.
  */
-void sata_print_link_status(struct ata_link *link)
+static void sata_print_link_status(struct ata_link *link)
 {
        u32 sstatus, scontrol, tmp;
 
@@ -6208,7 +6208,6 @@ EXPORT_SYMBOL_GPL(ata_host_detach);
 EXPORT_SYMBOL_GPL(ata_sg_init);
 EXPORT_SYMBOL_GPL(ata_qc_complete);
 EXPORT_SYMBOL_GPL(ata_qc_complete_multiple);
-EXPORT_SYMBOL_GPL(sata_print_link_status);
 EXPORT_SYMBOL_GPL(atapi_cmd_type);
 EXPORT_SYMBOL_GPL(ata_tf_to_fis);
 EXPORT_SYMBOL_GPL(ata_tf_from_fis);
index 07ed56f7a767bfda737db92a1b21318cb2a4f033..395a523d8c30c157985a48789016efea659c1196 100644 (file)
@@ -847,7 +847,6 @@ 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_link *link);
 extern void ata_port_probe(struct ata_port *);
 extern int sata_set_spd(struct ata_link *link);
 extern int ata_std_prereset(struct ata_link *link, unsigned long deadline);