[2/4,v7] ALSA: usb-audio: Add private_data pointer to usb_mixer_elem_info
diff mbox

Message ID 1415815622-31015-3-git-send-email-chris.j.arges@canonical.com
State New, archived
Headers show

Commit Message

Chris J Arges Nov. 12, 2014, 6:07 p.m. UTC
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>
 sound/usb/mixer.h | 1 +
 1 file changed, 1 insertion(+)

diff mbox

diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h
index 73b1f64..8df9a73 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,