From a76af199dc025e8f5cf6b9542efadc3de5163a7a Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Mon, 5 Sep 2005 16:56:40 +0200 Subject: [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 --- sound/arm/aaci.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sound/arm/aaci.c') diff --git a/sound/arm/aaci.c b/sound/arm/aaci.c index 98877030d57..34195b74860 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) if (ret) goto out; + snd_card_set_dev(aaci->card, &dev->dev); + ret = snd_card_register(aaci->card); if (ret == 0) { dev_info(&dev->dev, "%s, fifo %d\n", aaci->card->longname, -- cgit v1.2.3