summaryrefslogtreecommitdiff
path: root/sound/pci/ice1712/hoontech.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-13 15:31:08 +0100
committerJaroslav Kysela <perex@suse.cz>2007-05-11 16:55:49 +0200
commitbf748ed73e6978657102bddb1c4cc8a8f342c484 (patch)
treefa2d5f7d5aa38af95b8abe5bd56a0abefb5a0e92 /sound/pci/ice1712/hoontech.h
parent623ec04798bc21a611a5409f39bd3069cc64a80f (diff)
[ALSA] ice1712: build fixes
CC [M] sound/pci/ice1712/ice1712.o sound/pci/ice1712/ice1712.c:290: error: snd_ice1712_mixer_digmix_route_ac97 causes a section type conflict sound/pci/ice1712/ice1712.c:1630: error: snd_ice1712_eeprom 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>
Diffstat (limited to 'sound/pci/ice1712/hoontech.h')
-rw-r--r--sound/pci/ice1712/hoontech.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ice1712/hoontech.h b/sound/pci/ice1712/hoontech.h
index b62d6e4f6c71..1ee538b20fbf 100644
--- a/sound/pci/ice1712/hoontech.h
+++ b/sound/pci/ice1712/hoontech.h
@@ -35,7 +35,7 @@
#define ICE1712_SUBDEVICE_STDSP24_MEDIA7_1 0x16141217 /* Hoontech ST Audio DSP24 Media 7.1 */
#define ICE1712_SUBDEVICE_EVENT_EZ8 0x00010001 /* A dummy id for EZ8 */
-extern const struct snd_ice1712_card_info snd_ice1712_hoontech_cards[];
+extern struct snd_ice1712_card_info snd_ice1712_hoontech_cards[];
/* Hoontech SoundTrack Audio DSP 24 GPIO definitions */