X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=sound%2Fdrivers%2Fportman2x4.c;h=b1c047ec19afe6e5ce9e6cf1acb2124c72719d45;hb=96b0317906690997c16c7efffbc4c0fafcd6f7f2;hp=1b832870cc84aabdfc19669b7d23378ce4a22c8f;hpb=86e67a07d4dc8cd40454698f2abb972fced06910;p=linux-2.6-omap-h63xx.git diff --git a/sound/drivers/portman2x4.c b/sound/drivers/portman2x4.c index 1b832870cc8..b1c047ec19a 100644 --- a/sound/drivers/portman2x4.c +++ b/sound/drivers/portman2x4.c @@ -37,7 +37,6 @@ * - ported from alsa 0.5 to 1.0 */ -#include #include #include #include @@ -797,6 +796,8 @@ static int __devinit snd_portman_probe(struct platform_device *pdev) platform_set_drvdata(pdev, card); + snd_card_set_dev(card, &pdev->dev); + /* At this point card will be usable */ if ((err = snd_card_register(card)) < 0) { snd_printd("Cannot register card\n");