[ALSA] dynamic minors (1/6): store device type in struct snd_minor
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2005 13:03:48 +0000 (14:03 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:29:14 +0000 (12:29 +0100)
commit2af677fc884fc6dc79e65c99050ea607ac8bab9b
tree4291d36c2f116d5887b88da5f0213b68933a1201
parenta106cd3d9e88c8761bd0eac2ce402cc82bd11fea
[ALSA] dynamic minors (1/6): store device type in struct snd_minor

Instead of a comment string, store the device type in the snd_minor
structure.  This makes snd_minor more flexible, and has the nice side
effect that we don't need anymore to create a separate snd_minor
template for registering a device but can pass the file_operations
directly to snd_register_device().

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
14 files changed:
include/sound/core.h
include/sound/pcm.h
sound/core/control.c
sound/core/hwdep.c
sound/core/oss/mixer_oss.c
sound/core/oss/pcm_oss.c
sound/core/pcm.c
sound/core/pcm_native.c
sound/core/rawmidi.c
sound/core/seq/oss/seq_oss.c
sound/core/seq/seq_clientmgr.c
sound/core/sound.c
sound/core/sound_oss.c
sound/core/timer.c