From: Larry Finger Date: Sun, 13 Jul 2008 17:46:36 +0000 (-0500) Subject: pcmcia: Fix ide-cs sparse warning X-Git-Tag: v2.6.27-rc1~1113^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=727c6742c29e46177951fdc8f6758085e03bb981;p=linux-2.6-omap-h63xx.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 8b8b20d8691..99af3bb6c46 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;