summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-12-07 09:11:05 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:30:36 +0100
commit416c1079d30f1a52399b96f6772e993274b774ae (patch)
treecac70f2afaa88469db6e2ca231e4566046e0c363 /include/sound
parent156b2aa3bef17c964006c6448aadd440781d7e7d (diff)
downloadblackbird-op-linux-416c1079d30f1a52399b96f6772e993274b774ae.tar.gz
blackbird-op-linux-416c1079d30f1a52399b96f6772e993274b774ae.zip
[ALSA] Nest sound devices
Modules: ALSA Core Make the control device parent of all other ALSA devices of a card. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/core.h b/include/sound/core.h
index 90ac6132ea3b..dbe7a2c30272 100644
--- a/include/sound/core.h
+++ b/include/sound/core.h
@@ -134,6 +134,7 @@ struct snd_card {
wait_queue_head_t shutdown_sleep;
struct work_struct free_workq; /* for free in workqueue */
struct device *dev;
+ struct class_device *parent_device;
#ifdef CONFIG_PM
unsigned int power_state; /* power state */
OpenPOWER on IntegriCloud