pcmcia: Fix ide-cs sparse warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Sun, 13 Jul 2008 17:46:36 +0000 (12:46 -0500)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 14 Jul 2008 07:57:41 +0000 (09:57 +0200)
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>
drivers/ide/legacy/ide-cs.c

index 8b8b20d..99af3bb 100644 (file)
@@ -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;