[ALSA] Fix conflicts between const and __devinitdata
Marvin told with a depressed face, gcc doesn't like both __devinitdata and const in the same line. So, remove const from all over places now... Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:

committed by
Jaroslav Kysela

parent
bf748ed73e
commit
1b60f6b090
@@ -622,7 +622,7 @@ snd_azf3328_put_mixer_enum(struct snd_kcontrol *kcontrol,
|
||||
return (nreg != oreg);
|
||||
}
|
||||
|
||||
static const struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = {
|
||||
static struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata = {
|
||||
AZF3328_MIXER_SWITCH("Master Playback Switch", IDX_MIXER_PLAY_MASTER, 15, 1),
|
||||
AZF3328_MIXER_VOL_STEREO("Master Playback Volume", IDX_MIXER_PLAY_MASTER, 0x1f, 1),
|
||||
AZF3328_MIXER_SWITCH("Wave Playback Switch", IDX_MIXER_WAVEOUT, 15, 1),
|
||||
@@ -678,7 +678,7 @@ static const struct snd_kcontrol_new snd_azf3328_mixer_controls[] __devinitdata
|
||||
#endif
|
||||
};
|
||||
|
||||
static const u16 __devinitdata snd_azf3328_init_values[][2] = {
|
||||
static u16 __devinitdata snd_azf3328_init_values[][2] = {
|
||||
{ IDX_MIXER_PLAY_MASTER, MIXER_MUTE_MASK|0x1f1f },
|
||||
{ IDX_MIXER_MODEMOUT, MIXER_MUTE_MASK|0x1f1f },
|
||||
{ IDX_MIXER_BASSTREBLE, 0x0000 },
|
||||
|
Reference in New Issue
Block a user