diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-04-24 12:29:45 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2010-05-14 17:35:50 -0400 |
commit | fe6005b81e142c36f066b81ca85f80022c4ac979 (patch) | |
tree | c9ffb5597f485cc650bf744e0225be1f3319674e /drivers/ata/pata_scc.c | |
parent | 9990b6f32b5d35e76b4c2a0dd9469f96350c4d9d (diff) |
pata_scc: make scc_wait_after_reset() static
... 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>
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r-- | drivers/ata/pata_scc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c index 4257d6b40af4..1b41296a7a60 100644 --- a/drivers/ata/pata_scc.c +++ b/drivers/ata/pata_scc.c | |||
@@ -501,8 +501,8 @@ static unsigned int scc_devchk (struct ata_port *ap, | |||
501 | * Note: Original code is ata_sff_wait_after_reset | 501 | * Note: Original code is ata_sff_wait_after_reset |
502 | */ | 502 | */ |
503 | 503 | ||
504 | int scc_wait_after_reset(struct ata_link *link, unsigned int devmask, | 504 | static int scc_wait_after_reset(struct ata_link *link, unsigned int devmask, |
505 | unsigned long deadline) | 505 | unsigned long deadline) |
506 | { | 506 | { |
507 | struct ata_port *ap = link->ap; | 507 | struct ata_port *ap = link->ap; |
508 | struct ata_ioports *ioaddr = &ap->ioaddr; | 508 | struct ata_ioports *ioaddr = &ap->ioaddr; |