diff options
Diffstat (limited to 'sound/ppc/daca.c')
-rw-r--r-- | sound/ppc/daca.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/sound/ppc/daca.c b/sound/ppc/daca.c index 57202b0f033e..c5a1f0be6a4d 100644 --- a/sound/ppc/daca.c +++ b/sound/ppc/daca.c | |||
@@ -91,15 +91,7 @@ static int daca_set_volume(struct pmac_daca *mix) | |||
91 | 91 | ||
92 | 92 | ||
93 | /* deemphasis switch */ | 93 | /* deemphasis switch */ |
94 | static int daca_info_deemphasis(struct snd_kcontrol *kcontrol, | 94 | #define daca_info_deemphasis snd_ctl_boolean_mono_info |
95 | struct snd_ctl_elem_info *uinfo) | ||
96 | { | ||
97 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | ||
98 | uinfo->count = 1; | ||
99 | uinfo->value.integer.min = 0; | ||
100 | uinfo->value.integer.max = 1; | ||
101 | return 0; | ||
102 | } | ||
103 | 95 | ||
104 | static int daca_get_deemphasis(struct snd_kcontrol *kcontrol, | 96 | static int daca_get_deemphasis(struct snd_kcontrol *kcontrol, |
105 | struct snd_ctl_elem_value *ucontrol) | 97 | struct snd_ctl_elem_value *ucontrol) |