From: Larry Finger Date: Sun, 13 Jul 2008 17:46:36 +0000 (-0500) Subject: pcmcia: Fix ide-cs sparse warning X-Git-Tag: firefly_0821_release~19708^2 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=727c6742c29e46177951fdc8f6758085e03bb981;p=firefly-linux-kernel-4.4.55.git 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 CC: Bartlomiej Zolnierkiewicz Signed-off-by: Dominik Brodowski --- 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;