X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sound%2Fpci%2Fice1712%2Frevo.c;fp=sound%2Fpci%2Fice1712%2Frevo.c;h=b5754b32b802cffa499226bfd85a5b6798f3e280;hb=64ba3f394c830ec48a1c31b53dcae312c56f1604;hp=fec9440cb310485e8c6cb55c275172e60220ba82;hpb=be1e6109ac94a859551f8e1774eb9a8469fe055c;p=linux-2.6.git diff --git a/sound/pci/ice1712/revo.c b/sound/pci/ice1712/revo.c index fec9440cb..b5754b32b 100644 --- a/sound/pci/ice1712/revo.c +++ b/sound/pci/ice1712/revo.c @@ -87,25 +87,12 @@ static void revo_set_rate_val(struct snd_akm4xxx *ak, unsigned int rate) * initialize the chips on M-Audio Revolution cards */ -static unsigned int revo71_num_stereo_front[] = {2}; -static char *revo71_channel_names_front[] = {"PCM Playback Volume"}; - -static unsigned int revo71_num_stereo_surround[] = {1, 1, 2, 2}; -static char *revo71_channel_names_surround[] = {"PCM Center Playback Volume", "PCM LFE Playback Volume", - "PCM Side Playback Volume", "PCM Rear Playback Volume"}; - -static unsigned int revo51_num_stereo[] = {2, 1, 1, 2}; -static char *revo51_channel_names[] = {"PCM Playback Volume", "PCM Center Playback Volume", - "PCM LFE Playback Volume", "PCM Rear Playback Volume"}; - static struct snd_akm4xxx akm_revo_front __devinitdata = { .type = SND_AK4381, .num_dacs = 2, .ops = { .set_rate_val = revo_set_rate_val - }, - .num_stereo = revo71_num_stereo_front, - .channel_names = revo71_channel_names_front + } }; static struct snd_ak4xxx_private akm_revo_front_priv __devinitdata = { @@ -126,9 +113,7 @@ static struct snd_akm4xxx akm_revo_surround __devinitdata = { .num_dacs = 6, .ops = { .set_rate_val = revo_set_rate_val - }, - .num_stereo = revo71_num_stereo_surround, - .channel_names = revo71_channel_names_surround + } }; static struct snd_ak4xxx_private akm_revo_surround_priv __devinitdata = { @@ -148,9 +133,7 @@ static struct snd_akm4xxx akm_revo51 __devinitdata = { .num_dacs = 6, .ops = { .set_rate_val = revo_set_rate_val - }, - .num_stereo = revo51_num_stereo, - .channel_names = revo51_channel_names + } }; static struct snd_ak4xxx_private akm_revo51_priv __devinitdata = {