[ALSA] allow registering an alsa device with struct device pointer
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 5 Oct 2006 13:05:34 +0000 (15:05 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:06 +0000 (09:00 +0100)
commit12b131c4cf3eb1dc8a60082a434b7b100774c2e7
tree3c7269d2617724710d35ad8543dbe0713c61a58e
parentfeaa6a74d852be40c0e717471aa92eead012052c
[ALSA] allow registering an alsa device with struct device pointer

This patch adds snd_register_device_for_dev taking a struct device
pointer to link the new device to and makes snd_register_device a simple
static inline wrapper around it.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
include/sound/core.h
sound/core/sound.c