소스 검색

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 11 년 전
부모
커밋
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 cached;
 	int cache_val[MAX_CHANNELS];
 	int cache_val[MAX_CHANNELS];
 	u8 initialized;
 	u8 initialized;
+	void *private_data;
 };
 };
 
 
 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,
 int snd_usb_create_mixer(struct snd_usb_audio *chip, int ctrlif,