diff options
Diffstat (limited to 'sound/pci/emu10k1/emumixer.c')
-rw-r--r-- | sound/pci/emu10k1/emumixer.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sound/pci/emu10k1/emumixer.c b/sound/pci/emu10k1/emumixer.c index 9d890a5aec5a..f6c3da0d377d 100644 --- a/sound/pci/emu10k1/emumixer.c +++ b/sound/pci/emu10k1/emumixer.c | |||
@@ -510,7 +510,7 @@ static int snd_emu1010_input_source_put(struct snd_kcontrol *kcontrol, | |||
510 | .private_value = chid \ | 510 | .private_value = chid \ |
511 | } | 511 | } |
512 | 512 | ||
513 | static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = { | 513 | static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] = { |
514 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Enum", 0), | 514 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Enum", 0), |
515 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Enum", 1), | 515 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Enum", 1), |
516 | EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Enum", 2), | 516 | EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Enum", 2), |
@@ -539,7 +539,7 @@ static struct snd_kcontrol_new snd_emu1010_output_enum_ctls[] __devinitdata = { | |||
539 | 539 | ||
540 | 540 | ||
541 | /* 1616(m) cardbus */ | 541 | /* 1616(m) cardbus */ |
542 | static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[] __devinitdata = { | 542 | static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[] = { |
543 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Enum", 0), | 543 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Left Playback Enum", 0), |
544 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Enum", 1), | 544 | EMU1010_SOURCE_OUTPUT("Dock DAC1 Right Playback Enum", 1), |
545 | EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Enum", 2), | 545 | EMU1010_SOURCE_OUTPUT("Dock DAC2 Left Playback Enum", 2), |
@@ -571,7 +571,7 @@ static struct snd_kcontrol_new snd_emu1616_output_enum_ctls[] __devinitdata = { | |||
571 | .private_value = chid \ | 571 | .private_value = chid \ |
572 | } | 572 | } |
573 | 573 | ||
574 | static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[] __devinitdata = { | 574 | static struct snd_kcontrol_new snd_emu1010_input_enum_ctls[] = { |
575 | EMU1010_SOURCE_INPUT("DSP 0 Capture Enum", 0), | 575 | EMU1010_SOURCE_INPUT("DSP 0 Capture Enum", 0), |
576 | EMU1010_SOURCE_INPUT("DSP 1 Capture Enum", 1), | 576 | EMU1010_SOURCE_INPUT("DSP 1 Capture Enum", 1), |
577 | EMU1010_SOURCE_INPUT("DSP 2 Capture Enum", 2), | 577 | EMU1010_SOURCE_INPUT("DSP 2 Capture Enum", 2), |
@@ -639,7 +639,7 @@ static int snd_emu1010_adc_pads_put(struct snd_kcontrol *kcontrol, struct snd_ct | |||
639 | .private_value = chid \ | 639 | .private_value = chid \ |
640 | } | 640 | } |
641 | 641 | ||
642 | static struct snd_kcontrol_new snd_emu1010_adc_pads[] __devinitdata = { | 642 | static struct snd_kcontrol_new snd_emu1010_adc_pads[] = { |
643 | EMU1010_ADC_PADS("ADC1 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD1), | 643 | EMU1010_ADC_PADS("ADC1 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD1), |
644 | EMU1010_ADC_PADS("ADC2 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD2), | 644 | EMU1010_ADC_PADS("ADC2 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD2), |
645 | EMU1010_ADC_PADS("ADC3 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD3), | 645 | EMU1010_ADC_PADS("ADC3 14dB PAD Audio Dock Capture Switch", EMU_HANA_DOCK_ADC_PAD3), |
@@ -687,7 +687,7 @@ static int snd_emu1010_dac_pads_put(struct snd_kcontrol *kcontrol, struct snd_ct | |||
687 | .private_value = chid \ | 687 | .private_value = chid \ |
688 | } | 688 | } |
689 | 689 | ||
690 | static struct snd_kcontrol_new snd_emu1010_dac_pads[] __devinitdata = { | 690 | static struct snd_kcontrol_new snd_emu1010_dac_pads[] = { |
691 | EMU1010_DAC_PADS("DAC1 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD1), | 691 | EMU1010_DAC_PADS("DAC1 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD1), |
692 | EMU1010_DAC_PADS("DAC2 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD2), | 692 | EMU1010_DAC_PADS("DAC2 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD2), |
693 | EMU1010_DAC_PADS("DAC3 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD3), | 693 | EMU1010_DAC_PADS("DAC3 Audio Dock 14dB PAD Playback Switch", EMU_HANA_DOCK_DAC_PAD3), |
@@ -989,7 +989,7 @@ static int snd_audigy_i2c_volume_put(struct snd_kcontrol *kcontrol, | |||
989 | } | 989 | } |
990 | 990 | ||
991 | 991 | ||
992 | static struct snd_kcontrol_new snd_audigy_i2c_volume_ctls[] __devinitdata = { | 992 | static struct snd_kcontrol_new snd_audigy_i2c_volume_ctls[] = { |
993 | I2C_VOLUME("Mic Capture Volume", 0), | 993 | I2C_VOLUME("Mic Capture Volume", 0), |
994 | I2C_VOLUME("Line Capture Volume", 0) | 994 | I2C_VOLUME("Line Capture Volume", 0) |
995 | }; | 995 | }; |
@@ -1621,7 +1621,7 @@ static int snd_emu10k1_shared_spdif_put(struct snd_kcontrol *kcontrol, | |||
1621 | return change; | 1621 | return change; |
1622 | } | 1622 | } |
1623 | 1623 | ||
1624 | static struct snd_kcontrol_new snd_emu10k1_shared_spdif __devinitdata = | 1624 | static struct snd_kcontrol_new snd_emu10k1_shared_spdif = |
1625 | { | 1625 | { |
1626 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 1626 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
1627 | .name = "SB Live Analog/Digital Output Jack", | 1627 | .name = "SB Live Analog/Digital Output Jack", |
@@ -1630,7 +1630,7 @@ static struct snd_kcontrol_new snd_emu10k1_shared_spdif __devinitdata = | |||
1630 | .put = snd_emu10k1_shared_spdif_put | 1630 | .put = snd_emu10k1_shared_spdif_put |
1631 | }; | 1631 | }; |
1632 | 1632 | ||
1633 | static struct snd_kcontrol_new snd_audigy_shared_spdif __devinitdata = | 1633 | static struct snd_kcontrol_new snd_audigy_shared_spdif = |
1634 | { | 1634 | { |
1635 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 1635 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
1636 | .name = "Audigy Analog/Digital Output Jack", | 1636 | .name = "Audigy Analog/Digital Output Jack", |
@@ -1668,7 +1668,7 @@ static int snd_audigy_capture_boost_put(struct snd_kcontrol *kcontrol, | |||
1668 | return snd_ac97_update(emu->ac97, AC97_REC_GAIN, val); | 1668 | return snd_ac97_update(emu->ac97, AC97_REC_GAIN, val); |
1669 | } | 1669 | } |
1670 | 1670 | ||
1671 | static struct snd_kcontrol_new snd_audigy_capture_boost __devinitdata = | 1671 | static struct snd_kcontrol_new snd_audigy_capture_boost = |
1672 | { | 1672 | { |
1673 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, | 1673 | .iface = SNDRV_CTL_ELEM_IFACE_MIXER, |
1674 | .name = "Analog Capture Boost", | 1674 | .name = "Analog Capture Boost", |
@@ -1716,8 +1716,8 @@ static int rename_ctl(struct snd_card *card, const char *src, const char *dst) | |||
1716 | return -ENOENT; | 1716 | return -ENOENT; |
1717 | } | 1717 | } |
1718 | 1718 | ||
1719 | int __devinit snd_emu10k1_mixer(struct snd_emu10k1 *emu, | 1719 | int snd_emu10k1_mixer(struct snd_emu10k1 *emu, |
1720 | int pcm_device, int multi_device) | 1720 | int pcm_device, int multi_device) |
1721 | { | 1721 | { |
1722 | int err, pcm; | 1722 | int err, pcm; |
1723 | struct snd_kcontrol *kctl; | 1723 | struct snd_kcontrol *kctl; |