mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
[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>
This commit is contained in:
parent
88aa139057
commit
3839e4f136
3 changed files with 36 additions and 21 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue