]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ALSA] sound: ens1370.c fix shadowed variable warning
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Feb 2008 10:53:07 +0000 (11:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:16 +0000 (12:00 +0200)
commit405b0a377cfe3750f4af54b80d0402c3fe777b87
tree6fe1b3a2d10f8a10dcd8115f5fb7d140d3c4cebc
parent7dfa31ed5e1fc0ace7f1959b9564ad43d78fd7af
[ALSA] sound: ens1370.c fix shadowed variable warning

index is incremented only when AC97_EI_SPDIF and then assigned to
the index field.  Change the temporary name to is_spdif.

sound/pci/ens1370.c:1638:10: warning: symbol 'index' shadows an earlier one
sound/pci/ens1370.c:84:12: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ens1370.c