aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/portman2x4.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/portman2x4.c')
-rw-r--r--sound/drivers/portman2x4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c
index 1b832870cc84..7e7c668eacdd 100644
--- a/sound/drivers/portman2x4.c
+++ b/sound/drivers/portman2x4.c
@@ -797,6 +797,8 @@ static int __devinit snd_portman_probe(struct platform_device *pdev)
797 797
798 platform_set_drvdata(pdev, card); 798 platform_set_drvdata(pdev, card);
799 799
800 snd_card_set_dev(card, &pdev->dev);
801
800 /* At this point card will be usable */ 802 /* At this point card will be usable */
801 if ((err = snd_card_register(card)) < 0) { 803 if ((err = snd_card_register(card)) < 0) {
802 snd_printd("Cannot register card\n"); 804 snd_printd("Cannot register card\n");