diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2008-07-13 13:46:36 -0400 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2008-07-14 03:57:41 -0400 |
commit | 727c6742c29e46177951fdc8f6758085e03bb981 (patch) | |
tree | 4d3e33ab593cd9a3dab65bf34e63577805776832 /drivers/ide/legacy/ide-cs.c | |
parent | 815224293e5aa4c7dc1638807889e345f385b38d (diff) |
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/ide-cs.c')
-rw-r--r-- | 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 8b8b20d86915..99af3bb6c461 100644 --- a/drivers/ide/legacy/ide-cs.c +++ b/drivers/ide/legacy/ide-cs.c | |||
@@ -376,7 +376,7 @@ failed: | |||
376 | 376 | ||
377 | ======================================================================*/ | 377 | ======================================================================*/ |
378 | 378 | ||
379 | void ide_release(struct pcmcia_device *link) | 379 | static void ide_release(struct pcmcia_device *link) |
380 | { | 380 | { |
381 | ide_info_t *info = link->priv; | 381 | ide_info_t *info = link->priv; |
382 | ide_hwif_t *hwif = info->hwif; | 382 | ide_hwif_t *hwif = info->hwif; |