diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-25 11:05:21 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-25 15:12:50 +0400 |
commit | 71e2e1c147e653ee4e861b8b5dc0ae5c394870d2 (patch) | |
tree | 1701a7be7dc767eba25d1993117dd900795d81ba /include | |
parent | f806bdb2f7235907fcd310e6d147b3bcd281fa97 (diff) | |
download | linux-71e2e1c147e653ee4e861b8b5dc0ae5c394870d2.tar.xz |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/sound/hwdep.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hwdep.h b/include/sound/hwdep.h index 193a3c57ed25..ae04a3ec9c77 100644 --- a/include/sound/hwdep.h +++ b/include/sound/hwdep.h @@ -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; |