[ALSA] dynamic minors (2/6): simplify storage of snd_minor structures
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2005 13:05:49 +0000 (14:05 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:29:15 +0000 (12:29 +0100)
commit6983b7240cd229787c3ee00e663ea94ea649d96a
tree25005b4a0fce5465e70961a5d3fe2d040786f890
parent2af677fc884fc6dc79e65c99050ea607ac8bab9b
[ALSA] dynamic minors (2/6): simplify storage of snd_minor structures

Modules: ALSA Core

Store the snd_minor structure pointers in one array instead of using a
separate list for each card.  This simplifies the mapping from device
files to minor struct by removing the need to know about the encoding
of the card number in the minor number.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
include/sound/core.h
sound/core/sound.c
sound/core/sound_oss.c