diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-01-29 11:46:11 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-14 08:14:12 +0100 |
commit | 8bfb181c17d20956f156e84638912e00e1aaca86 (patch) | |
tree | f5d9c93a0a5d23779d85a0378c351fa8c00aa144 /arch/sparc/Kbuild | |
parent | 133450953040c9c6af986f65821a5ccebbe16e27 (diff) |
ALSA: Embed card device into struct snd_card
As prepared in the previous patch, we are ready to create a device
struct for the card object in snd_card_create() now. This patch
changes the scheme from the old style to:
- embed a device struct for the card object into snd_card struct,
- initialize the card device in snd_card_create() (but not register),
- registration is done in snd_card_register() via device_add()
The actual card device is stored in card->card_dev. The card->dev
pointer is kept unchanged and pointing to the parent device as before
for compatibility reason.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/sparc/Kbuild')
0 files changed, 0 insertions, 0 deletions