summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-03-30 14:22:25 +0200
committerJaroslav Kysela <perex@suse.cz>2005-05-29 09:00:47 +0200
commitaec72e0a4be407fb69fbee812cf0028d62e75152 (patch)
tree6bdd339e841491eaf87357b5118ef623cdb53afd /include/sound
parent9c220a31fd2f609ba55250a75d85ca795051a482 (diff)
[ALSA] Use old default id strings for compatibility
EMU10K1/EMU10K2 driver Use expliciitly the old default id strings for backward compatibility. This will make 'alsactl restore' working again. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/emu10k1.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h
index b1e8ee8e0fa..6647919768b 100644
--- a/include/sound/emu10k1.h
+++ b/include/sound/emu10k1.h
@@ -1050,8 +1050,9 @@ typedef struct {
unsigned char spdif_bug; /* Has Spdif phasing bug */
unsigned char ac97_chip; /* Has an AC97 chip */
unsigned char ecard; /* APS EEPROM */
- char * driver;
- char * name;
+ const char *driver;
+ const char *name;
+ const char *id; /* for backward compatibility - can be NULL if not needed */
} emu_chip_details_t;
struct _snd_emu10k1 {