diff mbox

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

Message ID 1415284418-13605-3-git-send-email-chris.j.arges@canonical.com (mailing list archive)
State New, archived
Headers show

Commit Message

Chris J Arges Nov. 6, 2014, 2:33 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

Patch

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,