diff options
Diffstat (limited to 'sound/ppc/pmac.c')
-rw-r--r-- | sound/ppc/pmac.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index 7a22f0f3784a..adbc86855b09 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c | |||
@@ -1035,29 +1035,6 @@ static int __init snd_pmac_detect(struct snd_pmac *chip) | |||
1035 | return 0; | 1035 | return 0; |
1036 | } | 1036 | } |
1037 | 1037 | ||
1038 | /* | ||
1039 | * exported - boolean info callbacks for ease of programming | ||
1040 | */ | ||
1041 | int snd_pmac_boolean_stereo_info(struct snd_kcontrol *kcontrol, | ||
1042 | struct snd_ctl_elem_info *uinfo) | ||
1043 | { | ||
1044 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | ||
1045 | uinfo->count = 2; | ||
1046 | uinfo->value.integer.min = 0; | ||
1047 | uinfo->value.integer.max = 1; | ||
1048 | return 0; | ||
1049 | } | ||
1050 | |||
1051 | int snd_pmac_boolean_mono_info(struct snd_kcontrol *kcontrol, | ||
1052 | struct snd_ctl_elem_info *uinfo) | ||
1053 | { | ||
1054 | uinfo->type = SNDRV_CTL_ELEM_TYPE_BOOLEAN; | ||
1055 | uinfo->count = 1; | ||
1056 | uinfo->value.integer.min = 0; | ||
1057 | uinfo->value.integer.max = 1; | ||
1058 | return 0; | ||
1059 | } | ||
1060 | |||
1061 | #ifdef PMAC_SUPPORT_AUTOMUTE | 1038 | #ifdef PMAC_SUPPORT_AUTOMUTE |
1062 | /* | 1039 | /* |
1063 | * auto-mute | 1040 | * auto-mute |