summaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorSergei Shtylyov <sshtylyov@ru.mvista.com>2010-10-05 20:31:47 +0400
committerJeff Garzik <jgarzik@redhat.com>2010-10-21 20:21:05 -0400
commitada5b12ecca3088ddb588c872db56abef322787e (patch)
tree940bbcfa162f7e1d8e263efab87012a43ca4aade /drivers/ata
parent60039a5295b3d82a48fe132c699987d2e1408675 (diff)
downloadop-kernel-dev-ada5b12ecca3088ddb588c872db56abef322787e.zip
op-kernel-dev-ada5b12ecca3088ddb588c872db56abef322787e.tar.gz
pata_sil680: make sil680_sff_exec_command() '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')
-rw-r--r--drivers/ata/pata_sil680.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_sil680.c b/drivers/ata/pata_sil680.c
index d3190d7..6cd52594 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);
OpenPOWER on IntegriCloud