瀏覽代碼

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>
Chris J Arges 10 年之前
父節點
當前提交
f41d6049d1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      sound/usb/mixer.h

+ 1 - 0
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,