diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-25 08:05:21 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-25 12:12:50 +0100 |
commit | 71e2e1c147e653ee4e861b8b5dc0ae5c394870d2 (patch) | |
tree | 1701a7be7dc767eba25d1993117dd900795d81ba /include/sound/hwdep.h | |
parent | f806bdb2f7235907fcd310e6d147b3bcd281fa97 (diff) | |
download | linux-71e2e1c147e653ee4e861b8b5dc0ae5c394870d2.tar.bz2 |
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/sound/hwdep.h')
-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; |