[ALSA] Add snd_card_set_dev()

ARM AACI PL041 driver,PARISC Harmony driver
Added snd_card_set_dev() calls to register the device pointer for the card.

Signed-off-by: Takashi Iwai <[email protected]>
This commit is contained in:
Takashi Iwai 2005-09-05 16:56:40 +02:00 • committed by Jaroslav Kysela
commit a76af199dc
2 changed files with 4 additions and 0 deletions

View file

@ -880,6 +880,8 @@ snd_harmony_create(snd_card_t *card,
goto free_and_ret;
}
snd_card_set_dev(card, &padev->dev);
*rchip = h;
return 0;