aboutsummaryrefslogtreecommitdiffstats
path: root/sound/parisc/harmony.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-09-05 10:56:40 -0400
committerJaroslav Kysela <perex@suse.cz>2005-09-12 04:41:33 -0400
commita76af199dc025e8f5cf6b9542efadc3de5163a7a (patch)
tree57b1aff12962778db991ef5b6146a0ca1e1bea28 /sound/parisc/harmony.c
parent0ca21611b668eee9ac07bb85825ce30002976550 (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/parisc/harmony.c')
-rw-r--r--sound/parisc/harmony.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/parisc/harmony.c b/sound/parisc/harmony.c
index d7a8f9f5896f..f560dd8cdb90 100644
--- a/sound/parisc/harmony.c
+++ b/sound/parisc/harmony.c
@@ -880,6 +880,8 @@ snd_harmony_create(snd_card_t *card,
880 goto free_and_ret; 880 goto free_and_ret;
881 } 881 }
882 882
883 snd_card_set_dev(card, &padev->dev);
884
883 *rchip = h; 885 *rchip = h;
884 886
885 return 0; 887 return 0;