aboutsummaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-25 08:05:21 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-25 12:12:50 +0100
commit71e2e1c147e653ee4e861b8b5dc0ae5c394870d2 (patch)
tree1701a7be7dc767eba25d1993117dd900795d81ba /include/sound
parentf806bdb2f7235907fcd310e6d147b3bcd281fa97 (diff)
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')
-rw-r--r--include/sound/hwdep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/hwdep.h b/include/sound/hwdep.h
index 193a3c57ed2..ae04a3ec9c7 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;