From: Randy Dunlap Date: Wed, 27 Jun 2007 21:09:57 +0000 (-0700) Subject: ALSA: fix ice1712 section mismatch X-Git-Tag: firefly_0821_release~28550 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=53f3bed0a46c786b17f040005b1bd7a78ddd0770;p=firefly-linux-kernel-4.4.55.git ALSA: fix ice1712 section mismatch Cannot mix const and __initdata: sound/pci/ice1712/prodigy192.c:708: error: ak4114_controls causes a section type conflict Signed-off-by: Randy Dunlap Cc: Jaroslav Kysela Cc: Takashi Iwai Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/sound/pci/ice1712/prodigy192.c b/sound/pci/ice1712/prodigy192.c index f03c02c07743..4bae7305a79b 100644 --- a/sound/pci/ice1712/prodigy192.c +++ b/sound/pci/ice1712/prodigy192.c @@ -705,7 +705,7 @@ static int ak4114_input_sw_put(struct snd_kcontrol *kcontrol, } -static const struct snd_kcontrol_new ak4114_controls[] __devinitdata = { +static struct snd_kcontrol_new ak4114_controls[] __devinitdata = { { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = "MIODIO IEC958 Capture Input",