diff options
author | Chris J Arges <chris.j.arges@canonical.com> | 2014-11-12 13:07:00 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-13 01:31:52 -0500 |
commit | f41d6049d18694e8b3d938464432d0e51f671089 (patch) | |
tree | 33a9895b690e00d37d7c7a836db0161a69617b1a /sound/usb/mixer.h | |
parent | ef9566a3a1c0e46dadfa6c722e8a685ac0cea081 (diff) |
ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info
Add a private_data pointer to usb_mixer_elem_info to allow other mixer
implementations to extend the structure as necessary.
Signed-off-by: Chris J Arges <chris.j.arges@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer.h')
-rw-r--r-- | sound/usb/mixer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h index 2c7b9c9c2aa6..7423f998cfb5 100644 --- a/sound/usb/mixer.h +++ b/sound/usb/mixer.h | |||
@@ -53,6 +53,7 @@ struct usb_mixer_elem_info { | |||
53 | int cached; | 53 | int cached; |
54 | int cache_val[MAX_CHANNELS]; | 54 | int cache_val[MAX_CHANNELS]; |
55 | u8 initialized; | 55 | u8 initialized; |
56 | void *private_data; | ||
56 | }; | 57 | }; |
57 | 58 | ||
58 | int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, | 59 | int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, |