aboutsummaryrefslogtreecommitdiffstats
path: root/sound/ppc/tumbler.c
diff options
context:
space:
mode:
authorKamalesh Babulal <kamalesh@linx.vnet.ibm.com>2007-11-20 09:12:33 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:26 -0500
commitdec44dbe017f824ce46cdd66b39fa9b98a076ce1 (patch)
tree0ea9919a627dae097e1f09921c5c6fa47d2f9c59 /sound/ppc/tumbler.c
parentf673dc829bc8a9805d82df14a3e08b94f3d6fd50 (diff)
[ALSA] powermac - Fix typos
The kernel build fails, with following error CC sound/ppc/tumbler.o sound/ppc/tumbler.c: In function ‘snapper_get_capture_source’: sound/ppc/tumbler.c:812: error: ‘union <anonymous>’ has no member named ‘value’ sound/ppc/tumbler.c: In function ‘snapper_put_capture_source’: sound/ppc/tumbler.c:824: error: ‘union <anonymous>’ has no member named ‘enuemerated’ make[2]: *** [sound/ppc/tumbler.o] Error 1 make[1]: *** [sound/ppc] Error 2 make: *** [sound] Error 2 Signed-off-by: Kamalesh Babulal <kamalesh@linx.vnet.ibm.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/ppc/tumbler.c')
-rw-r--r--sound/ppc/tumbler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c
index bacff3d1c189..d4d22e161d11 100644
--- a/sound/ppc/tumbler.c
+++ b/sound/ppc/tumbler.c
@@ -809,7 +809,7 @@ static int snapper_get_capture_source(struct snd_kcontrol *kcontrol,
809 struct pmac_tumbler *mix = chip->mixer_data; 809 struct pmac_tumbler *mix = chip->mixer_data;
810 810
811 snd_assert(mix, return -ENODEV); 811 snd_assert(mix, return -ENODEV);
812 ucontrol->value.enumerated.value[0] = mix->capture_source; 812 ucontrol->value.enumerated.item[0] = mix->capture_source;
813 return 0; 813 return 0;
814} 814}
815 815
@@ -821,7 +821,7 @@ static int snapper_put_capture_source(struct snd_kcontrol *kcontrol,
821 int change; 821 int change;
822 822
823 snd_assert(mix, return -ENODEV); 823 snd_assert(mix, return -ENODEV);
824 change = ucontrol->value.enuemerated.item[0] != mix->capture_source; 824 change = ucontrol->value.enumerated.item[0] != mix->capture_source;
825 if (change) { 825 if (change) {
826 mix->capture_source = !!ucontrol->value.enumerated.item[0]; 826 mix->capture_source = !!ucontrol->value.enumerated.item[0];
827 snapper_set_capture_source(mix); 827 snapper_set_capture_source(mix);