[ALSA] sound: maestro3.c fix shadowed variable warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 28 Feb 2008 10:56:37 +0000 (11:56 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:16 +0000 (12:00 +0200)
commite37273d3484e241063fefb2611a0c93eb0d9ddbd
tree65bd28dd01e1683332d732aa7ee3df385411a9d2
parent58e4334e82c0f4eb0147a905a127bd14f0ea0a2d
[ALSA] sound: maestro3.c fix shadowed variable warnings

change id to elem_id as it is used to initialize each mixer element
sound/pci/maestro3.c:2071:25: warning: symbol 'id' shadows an earlier one
sound/pci/maestro3.c:67:13: originally declared here

index is used in each of these places to count over the dsp's memory,
change to the name dsp_index
sound/pci/maestro3.c:2572:9: warning: symbol 'index' shadows an earlier one
sound/pci/maestro3.c:66:12: originally declared here
sound/pci/maestro3.c:2604:9: warning: symbol 'index' shadows an earlier one
sound/pci/maestro3.c:66:12: originally declared here

[tiwai - fixed coding style issues as well]

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