summaryrefslogtreecommitdiff
path: root/kernel/padata.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-29 14:46:11 +0400
committerTakashi Iwai <tiwai@suse.de>2014-02-14 11:14:12 +0400
commit8bfb181c17d20956f156e84638912e00e1aaca86 (patch)
treef5d9c93a0a5d23779d85a0378c351fa8c00aa144 /kernel/padata.c
parent133450953040c9c6af986f65821a5ccebbe16e27 (diff)
downloadlinux-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 'kernel/padata.c')
0 files changed, 0 insertions, 0 deletions