diff options
author | Chris J Arges <chris.j.arges@canonical.com> | 2014-11-12 12:07:00 -0600 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-11-13 07:31:52 +0100 |
commit | f41d6049d18694e8b3d938464432d0e51f671089 (patch) | |
tree | 33a9895b690e00d37d7c7a836db0161a69617b1a /sound/usb | |
parent | ef9566a3a1c0e46dadfa6c722e8a685ac0cea081 (diff) | |
download | linux-rpi3-f41d6049d18694e8b3d938464432d0e51f671089.tar.gz linux-rpi3-f41d6049d18694e8b3d938464432d0e51f671089.tar.bz2 linux-rpi3-f41d6049d18694e8b3d938464432d0e51f671089.zip |
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')
-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 { int cached; int cache_val[MAX_CHANNELS]; u8 initialized; + void *private_data; }; int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif, |