Skip to content

Commit

Permalink
pcmcia: Fix ide-cs sparse warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Larry Finger authored and Dominik Brodowski committed Jul 14, 2008
1 parent 8152242 commit 727c674
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/legacy/ide-cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ static int ide_config(struct pcmcia_device *link)
======================================================================*/

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;
Expand Down

0 comments on commit 727c674

Please sign in to comment.