diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-12-21 10:33:32 -0500 |
---|---|---|
committer | Mercurial server <hg@alsa0.alsa-project.org> | 2008-01-31 11:30:24 -0500 |
commit | 3839e4f136d6da3dc85d237aa9569ee94bfea763 (patch) | |
tree | c000a5a87e22c22890c24b8eb4f1fee861bbd79a /include/sound/emu10k1.h | |
parent | 88aa139057f2740c5dd55e2a542b2425186e4d3c (diff) |
[ALSA] emu10k1 - Use enum for emu_model types
Use enum instead of digits for emu_model types.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'include/sound/emu10k1.h')
-rw-r--r-- | include/sound/emu10k1.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/sound/emu10k1.h b/include/sound/emu10k1.h index 4474b4e15f7c..494648dd7073 100644 --- a/include/sound/emu10k1.h +++ b/include/sound/emu10k1.h | |||
@@ -1642,6 +1642,14 @@ struct snd_emu10k1_midi { | |||
1642 | void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status); | 1642 | void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status); |
1643 | }; | 1643 | }; |
1644 | 1644 | ||
1645 | enum { | ||
1646 | EMU_MODEL_SB, | ||
1647 | EMU_MODEL_EMU1010, | ||
1648 | EMU_MODEL_EMU1010B, | ||
1649 | EMU_MODEL_EMU1616, | ||
1650 | EMU_MODEL_EMU0404, | ||
1651 | }; | ||
1652 | |||
1645 | struct snd_emu_chip_details { | 1653 | struct snd_emu_chip_details { |
1646 | u32 vendor; | 1654 | u32 vendor; |
1647 | u32 device; | 1655 | u32 device; |