From: Sergei Shtylyov Date: Tue, 5 Oct 2010 16:31:47 +0000 (+0400) Subject: pata_sil680: make sil680_sff_exec_command() 'static' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ada5b12ecca3088ddb588c872db56abef322787e;p=openwrt%2Fstaging%2Fblogic.git pata_sil680: make sil680_sff_exec_command() 'static' ... since, of course, it's not used outside this driver. Signed-off-by: Sergei Shtylyov Signed-off-by: Jeff Garzik --- diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c index d3190d7ec304..6cd52594a357 100644 --- a/drivers/ata/pata_sil680.c +++ b/drivers/ata/pata_sil680.c @@ -202,8 +202,8 @@ static void sil680_set_dmamode(struct ata_port *ap, struct ata_device *adev) * 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);