[PATCH 23/23] pcmcia: Fix ide-cs sparse warning

Dominik Brodowski linux at dominikbrodowski.net
Mon Jul 14 04:14:25 EDT 2008


From: Larry Finger <Larry.Finger at lwfinger.net>

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 at lwfinger.net>
CC: Bartlomiej Zolnierkiewicz <bzolnier at gmail.com>
Signed-off-by: Dominik Brodowski <linux at dominikbrodowski.net>
---
 drivers/ide/legacy/ide-cs.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/legacy/ide-cs.c b/drivers/ide/legacy/ide-cs.c
index 8b8b20d..99af3bb 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;
-- 
1.5.4.3




More information about the linux-pcmcia mailing list