ALSA: hwdep: Allow to assign the given parent

Just like PCM, allow hwdep to be assigned to a different parent device
than the card.  It'll be used for the HD-audio codec device in the
later patches.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai
2014-02-25 08:05:21 +01:00
父節點 f806bdb2f7
當前提交 71e2e1c147
共有 2 個文件被更改,包括 13 次插入7 次删除

查看文件

@@ -68,6 +68,7 @@ struct snd_hwdep {
wait_queue_head_t open_wait;
void *private_data;
void (*private_free) (struct snd_hwdep *hwdep);
struct device *dev;
const struct attribute_group **groups;
struct mutex open_mutex;