From 3839e4f136d6da3dc85d237aa9569ee94bfea763 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 21 Dec 2007 16:33:32 +0100 Subject: [ALSA] emu10k1 - Use enum for emu_model types Use enum instead of digits for emu_model types. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- include/sound/emu10k1.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include/sound') 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 { void (*interrupt)(struct snd_emu10k1 *emu, unsigned int status); }; +enum { + EMU_MODEL_SB, + EMU_MODEL_EMU1010, + EMU_MODEL_EMU1010B, + EMU_MODEL_EMU1616, + EMU_MODEL_EMU0404, +}; + struct snd_emu_chip_details { u32 vendor; u32 device; -- cgit v1.2.1