summaryrefslogtreecommitdiffstats
path: root/drivers/ide/legacy
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2008-07-13 12:46:36 -0500
committerDominik Brodowski <linux@dominikbrodowski.net>2008-07-14 09:57:41 +0200
commit727c6742c29e46177951fdc8f6758085e03bb981 (patch)
tree4d3e33ab593cd9a3dab65bf34e63577805776832 /drivers/ide/legacy
parent815224293e5aa4c7dc1638807889e345f385b38d (diff)
downloadblackbird-op-linux-727c6742c29e46177951fdc8f6758085e03bb981.tar.gz
blackbird-op-linux-727c6742c29e46177951fdc8f6758085e03bb981.zip
pcmcia: Fix ide-cs sparse warning
Sparse shows the following warning: CHECK drivers/ide/legacy/ide-cs.c drivers/ide/legacy/ide-cs.c:378:6: warning: symbol 'ide_release' was not declared. Should it be static? Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> CC: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/ide/legacy')
-rw-r--r--drivers/ide/legacy/ide-cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 8b8b20d86915..99af3bb6c461 100644
--- a/drivers/ide/legacy/ide-cs.c
+++ b/drivers/ide/legacy/ide-cs.c
@@ -376,7 +376,7 @@ failed:
======================================================================*/
-void ide_release(struct pcmcia_device *link)
+static void ide_release(struct pcmcia_device *link)
{
ide_info_t *info = link->priv;
ide_hwif_t *hwif = info->hwif;
OpenPOWER on IntegriCloud