aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-12-07 03:11:05 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:30:36 -0500
commit416c1079d30f1a52399b96f6772e993274b774ae (patch)
treecac70f2afaa88469db6e2ca231e4566046e0c363 /include/sound
parent156b2aa3bef17c964006c6448aadd440781d7e7d (diff)
[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 {
134 wait_queue_head_t shutdown_sleep; 134 wait_queue_head_t shutdown_sleep;
135 struct work_struct free_workq; /* for free in workqueue */ 135 struct work_struct free_workq; /* for free in workqueue */
136 struct device *dev; 136 struct device *dev;
137 struct class_device *parent_device;
137 138
138#ifdef CONFIG_PM 139#ifdef CONFIG_PM
139 unsigned int power_state; /* power state */ 140 unsigned int power_state; /* power state */