summaryrefslogtreecommitdiffstats
path: root/include/sound/hwdep.h
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-11-20 14:06:59 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:29:17 +0100
commitf87135f56cb266e031f5ec081dfbde7e43f55e80 (patch)
treec048abae6bb04df53f5d8d7dcffbf2c28bc638ff /include/sound/hwdep.h
parent6983b7240cd229787c3ee00e663ea94ea649d96a (diff)
downloadlinux-f87135f56cb266e031f5ec081dfbde7e43f55e80.tar.gz
linux-f87135f56cb266e031f5ec081dfbde7e43f55e80.tar.bz2
linux-f87135f56cb266e031f5ec081dfbde7e43f55e80.zip
[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 {
struct snd_hwdep {
struct snd_card *card;
+ struct list_head list;
int device;
char id[32];
char name[80];