Skip to contentSkip to conversation

pata_sil680: make sil680_sff_exec_command() 'static'

PATCH New Sergei Shtylyov 1 participant 1 message Oct 5, 2010 libata

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pata_sil680: make sil680_sff_exec_command() 'static'

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

---
The patch is against the recent Linus' tree.

 drivers/ata/pata_sil680.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/ata/pata_sil680.c +2 -2
Index: linux-2.6/drivers/ata/pata_sil680.c
===================================================================
@@ -202,8 +202,8 @@ static void sil680_set_dmamode(struct at
  *	LOCKING:
  *	spin_lock_irqsave(host lock)
  */
-void sil680_sff_exec_command(struct ata_port *ap,
-					const struct ata_taskfile *tf)
+static void sil680_sff_exec_command(struct ata_port *ap,
+				    const struct ata_taskfile *tf)
 {
 	DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command);
 	iowrite8(tf->command, ap->ioaddr.command_addr);