aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/hwdep.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-11-20 08:06:59 -0500
committerJaroslav Kysela <perex@suse.cz>2006-01-03 06:29:17 -0500
commitf87135f56cb266e031f5ec081dfbde7e43f55e80 (patch)
treec048abae6bb04df53f5d8d7dcffbf2c28bc638ff /include/sound/hwdep.h
parent6983b7240cd229787c3ee00e663ea94ea649d96a (diff)
[ALSA] dynamic minors (3/6): store device-specific object pointers dynamically
Instead of storing the pointers to the device-specific structures in an array, put them into the struct snd_minor, and look them up dynamically. This makes the device type modules independent of the minor number encoding. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include/sound/hwdep.h')
-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 04b20bc4f144..c679e5b31111 100644
--- a/include/sound/hwdep.h
+++ b/include/sound/hwdep.h
@@ -43,6 +43,7 @@ struct snd_hwdep_ops {
43 43
44struct snd_hwdep { 44struct snd_hwdep {
45 struct snd_card *card; 45 struct snd_card *card;
46 struct list_head list;
46 int device; 47 int device;
47 char id[32]; 48 char id[32];
48 char name[80]; 49 char name[80];