Skip to contentSkip to conversation

pata_scc: make scc_wait_after_reset() static

PATCH RESEND In review Sergei Shtylyov 2 participants 2 messages Apr 24, 2010 – May 14, 2010 libata

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/2 pata_scc: make scc_wait_after_reset() static

... since, of course, it's not used outside this driver.

---
The patch is against the recent Linus' tree indeed now, the previously psted one wasn't...

 drivers/ata/pata_scc.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/ata/pata_scc.c +2 -2
Index: linux-2.6/drivers/ata/pata_scc.c
===================================================================
@@ -501,8 +501,8 @@ static unsigned int scc_devchk (struct a
  *	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;
#1 lore raw
Quoted 10 lines · Sergei Shtylyov

... since, of course, it's not used outside this driver.

---
The patch is against the recent Linus' tree indeed now, the previously psted one wasn't...

  drivers/ata/pata_scc.c |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

applied 1-2