Commit 93219d06 authored by Takashi Sakamoto's avatar Takashi Sakamoto Committed by Takashi Iwai

ALSA: fireworks: Use the same prototype for functions as actual declaration

There are two modes for Fireworks, IEC 61883 compliant or Windows.
So it's better to use enum type instead of int to express the intension,
even if C language specification defines to handle enum variables as usual
integer.
Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent ba06b2cb
...@@ -192,7 +192,8 @@ enum snd_efw_transport_mode { ...@@ -192,7 +192,8 @@ enum snd_efw_transport_mode {
}; };
int snd_efw_command_set_resp_addr(struct snd_efw *efw, int snd_efw_command_set_resp_addr(struct snd_efw *efw,
u16 addr_high, u32 addr_low); u16 addr_high, u32 addr_low);
int snd_efw_command_set_tx_mode(struct snd_efw *efw, unsigned int mode); int snd_efw_command_set_tx_mode(struct snd_efw *efw,
enum snd_efw_transport_mode mode);
int snd_efw_command_get_hwinfo(struct snd_efw *efw, int snd_efw_command_get_hwinfo(struct snd_efw *efw,
struct snd_efw_hwinfo *hwinfo); struct snd_efw_hwinfo *hwinfo);
int snd_efw_command_get_phys_meters(struct snd_efw *efw, int snd_efw_command_get_phys_meters(struct snd_efw *efw,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment