diff options
author | Clemens Ladisch <clemens@ladisch.de> | 2005-12-07 03:11:05 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-01-03 06:30:36 -0500 |
commit | 416c1079d30f1a52399b96f6772e993274b774ae (patch) | |
tree | cac70f2afaa88469db6e2ca231e4566046e0c363 /include/sound | |
parent | 156b2aa3bef17c964006c6448aadd440781d7e7d (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.h | 1 |
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 */ |