aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-13 10:29:47 -0400
committerJaroslav Kysela <perex@suse.cz>2007-05-11 10:55:49 -0400
commit623ec04798bc21a611a5409f39bd3069cc64a80f (patch)
treeed0ea97b1ce272876137bbb9a3e0119026581c50
parent345a1e150ed722bded478e23d3d75b6b73c63d5c (diff)
[ALSA] hda_intel: build fix
CC [M] sound/pci/hda/hda_intel.o sound/pci/hda/hda_intel.c:1508: error: position_fix_list causes a section type conflict Gcc like its __devinitdata readable not const, it seems. An alternative fix would be to remove the __devinitdata attribute but that would result in slight runtime bloat. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 1672cace1ae7..517a8d7bf337 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -1518,7 +1518,7 @@ static int azx_dev_free(struct snd_device *device)
1518/* 1518/*
1519 * white/black-listing for position_fix 1519 * white/black-listing for position_fix
1520 */ 1520 */
1521static const struct snd_pci_quirk position_fix_list[] __devinitdata = { 1521static struct snd_pci_quirk position_fix_list[] __devinitdata = {
1522 SND_PCI_QUIRK(0x1028, 0x01cc, "Dell D820", POS_FIX_NONE), 1522 SND_PCI_QUIRK(0x1028, 0x01cc, "Dell D820", POS_FIX_NONE),
1523 {} 1523 {}
1524}; 1524};