X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=sound%2Fppc%2Fdaca.c;h=c5a1f0be6a4d48bf3ac1cb055ed9f14a8b08e5c2;hb=b04cde34cf1d006dfaf8523640f3a18bbb15ebaa;hp=57202b0f033ecf977e121bf732a1834c17f6f5dd;hpb=f8872f4cb4b58f06a27d0443668d12d49f3b5d31;p=powerpc.git diff --git a/sound/ppc/daca.c b/sound/ppc/daca.c index 57202b0f03..c5a1f0be6a 100644 --- a/sound/ppc/daca.c +++ b/sound/ppc/daca.c @@ -91,15 +91,7 @@ static int daca_set_volume(struct pmac_daca *mix) /* deemphasis switch */ -static int daca_info_deemphasis(struct snd_kcontrol *kcontrol, - struct snd_ctl_elem_info *uinfo) -{ - uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; - uinfo->count = 1; - uinfo->value.integer.min = 0; - uinfo->value.integer.max = 1; - return 0; -} +#define daca_info_deemphasis snd_ctl_boolean_mono_info static int daca_get_deemphasis(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol)