pata_scc: make scc_wait_after_reset() static
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Sat, 24 Apr 2010 16:29:45 +0000 (20:29 +0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 14 May 2010 21:35:50 +0000 (17:35 -0400)
... since, of course, it's not used outside this driver.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_scc.c

index 4257d6b40af4f029d19722c92d8429b8ee91798f..1b41296a7a600f23ec490c5aa785d63266610997 100644 (file)
@@ -501,8 +501,8 @@ static unsigned int scc_devchk (struct ata_port *ap,
  *     Note: Original code is ata_sff_wait_after_reset
  */
 
-int scc_wait_after_reset(struct ata_link *link, unsigned int devmask,
-                        unsigned long deadline)
+static int scc_wait_after_reset(struct ata_link *link, unsigned int devmask,
+                               unsigned long deadline)
 {
        struct ata_port *ap = link->ap;
        struct ata_ioports *ioaddr = &ap->ioaddr;