diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-01-29 14:46:11 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-14 11:14:12 +0400 |
commit | 8bfb181c17d20956f156e84638912e00e1aaca86 (patch) | |
tree | f5d9c93a0a5d23779d85a0378c351fa8c00aa144 /init | |
parent | 133450953040c9c6af986f65821a5ccebbe16e27 (diff) | |
download | linux-8bfb181c17d20956f156e84638912e00e1aaca86.tar.xz |
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 'init')
0 files changed, 0 insertions, 0 deletions