All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: fix ice1712 section mismatch
@ 2007-06-25 23:17 Randy Dunlap
  2007-06-25 23:41 ` Andrew Morton
  0 siblings, 1 reply; 4+ messages in thread
From: Randy Dunlap @ 2007-06-25 23:17 UTC (permalink / raw)
  To: lkml; +Cc: perex, akpm

From: Randy Dunlap <randy.dunlap@oracle.com>

Cannot mix const and __initdata:
sound/pci/ice1712/prodigy192.c:708: error: ak4114_controls causes a section type conflict

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
 sound/pci/ice1712/prodigy192.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.22-rc6.orig/sound/pci/ice1712/prodigy192.c
+++ linux-2.6.22-rc6/sound/pci/ice1712/prodigy192.c
@@ -705,7 +705,7 @@ static int ak4114_input_sw_put(struct sn
 }
 
 
-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",

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-06-26  9:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25 23:17 [PATCH] ALSA: fix ice1712 section mismatch Randy Dunlap
2007-06-25 23:41 ` Andrew Morton
2007-06-25 23:47   ` Randy Dunlap
2007-06-26  9:10   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.