summaryrefslogtreecommitdiff
path: root/drivers/ata/pata_pcmcia.c
diff options
context:
space:
mode:
authorRobert Hancock <hancockrwd@gmail.com>2010-01-19 23:03:39 -0600
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 14:58:44 -0500
commit9ffc5da5e1e57592da9c22d83a98c63afc8d985c (patch)
treea0b81e1c0db8c0fd119731cd87300b52e04923d4 /drivers/ata/pata_pcmcia.c
parent27943620cbd960f710a385ff4a538e14ed3f1922 (diff)
downloadlwn-9ffc5da5e1e57592da9c22d83a98c63afc8d985c.tar.gz
lwn-9ffc5da5e1e57592da9c22d83a98c63afc8d985c.zip
libata: make functions/variables static
Make some variables in ahci and a function in pata_pcmcia static, as found using sparse. Signed-off-by: Robert Hancock <hancockrwd@gmail.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/pata_pcmcia.c')
-rw-r--r--drivers/ata/pata_pcmcia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_pcmcia.c b/drivers/ata/pata_pcmcia.c
index 1b392c9e8531..36103531feeb 100644
--- a/drivers/ata/pata_pcmcia.c
+++ b/drivers/ata/pata_pcmcia.c
@@ -136,7 +136,7 @@ static unsigned int ata_data_xfer_8bit(struct ata_device *dev,
*
*/
-void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc)
+static void pcmcia_8bit_drain_fifo(struct ata_queued_cmd *qc)
{
int count;
struct ata_port *ap;