diff options
author | Takashi Iwai <tiwai@suse.de> | 2005-09-05 10:56:40 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2005-09-12 04:41:33 -0400 |
commit | a76af199dc025e8f5cf6b9542efadc3de5163a7a (patch) | |
tree | 57b1aff12962778db991ef5b6146a0ca1e1bea28 /sound/arm/aaci.c | |
parent | 0ca21611b668eee9ac07bb85825ce30002976550 (diff) |
[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 <tiwai@suse.de>
Diffstat (limited to 'sound/arm/aaci.c')
-rw-r--r-- | sound/arm/aaci.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 98877030d579..34195b748608 100644 --- a/sound/arm/aaci.c +++ b/sound/arm/aaci.c | |||
@@ -900,6 +900,8 @@ static int __devinit aaci_probe(struct amba_device *dev, void *id) | |||
900 | if (ret) | 900 | if (ret) |
901 | goto out; | 901 | goto out; |
902 | 902 | ||
903 | snd_card_set_dev(aaci->card, &dev->dev); | ||
904 | |||
903 | ret = snd_card_register(aaci->card); | 905 | ret = snd_card_register(aaci->card); |
904 | if (ret == 0) { | 906 | if (ret == 0) { |
905 | dev_info(&dev->dev, "%s, fifo %d\n", aaci->card->longname, | 907 | dev_info(&dev->dev, "%s, fifo %d\n", aaci->card->longname, |