[ALSA] alsa core: add struct device pointer to struct snd_pcm
authorJohannes Berg <johannes@sipsolutions.net>
Thu, 5 Oct 2006 13:06:34 +0000 (15:06 +0200)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:00:07 +0000 (09:00 +0100)
commitc78085fcd2ce7cd036e1488472eb41a64d70949a
treedb48675117e830b287784bf68baadd286a12a6a7
parent12b131c4cf3eb1dc8a60082a434b7b100774c2e7
[ALSA] alsa core: add struct device pointer to struct snd_pcm

This patch adds a struct device pointer to struct snd_pcm in order to be
able to give it a different device than the card. It defaults to the card's
device, however, so it should behave identically for drivers not touching
the field.

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/pcm.h
sound/core/pcm.c