diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2015-12-16 20:37:55 +0900 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-12-22 11:50:30 +0100 |
commit | 40540de503929ebac3844c65fad2cd32ca15d3ce (patch) | |
tree | 5efe48a2b9216646b20ba4b36fc6990ac397d818 /sound/firewire/oxfw/oxfw.h | |
parent | c582cc66b98af8130f4a26ccbd7e05d5aef2a96d (diff) | |
download | op-kernel-dev-40540de503929ebac3844c65fad2cd32ca15d3ce.zip op-kernel-dev-40540de503929ebac3844c65fad2cd32ca15d3ce.tar.gz |
ALSA: oxfw: move model-specific members from common structure
Currently, 'struct snd_oxfw' has some members for models supported by old
firewire-speakers driver, while these members are useless to the other
models.
This commit allocates new memory block and moves these members to
model-specific structure.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire/oxfw/oxfw.h')
-rw-r--r-- | sound/firewire/oxfw/oxfw.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/firewire/oxfw/oxfw.h b/sound/firewire/oxfw/oxfw.h index 9625661..046cd33 100644 --- a/sound/firewire/oxfw/oxfw.h +++ b/sound/firewire/oxfw/oxfw.h @@ -64,11 +64,6 @@ struct snd_oxfw { unsigned int midi_input_ports; unsigned int midi_output_ports; - bool mute; - s16 volume[6]; - s16 volume_min; - s16 volume_max; - int dev_lock_count; bool dev_lock_changed; wait_queue_head_t hwdep_wait; |