]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/drivers/ml403-ac97cr.c
[TCP]: Must count fack_count also when skipping
[linux-2.6-omap-h63xx.git] / sound / drivers / ml403-ac97cr.c
index c76a24e337f9a08164c1dffd6d7a6bba87fa9b40..05a871aa7b818fd45eed66d40ef396a5075eccc7 100644 (file)
@@ -33,7 +33,6 @@
  *   But there might still be some ...
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
 
@@ -1312,6 +1311,8 @@ static int __devinit snd_ml403_ac97cr_probe(struct platform_device *pfdev)
                (unsigned long)ml403_ac97cr->port, ml403_ac97cr->irq,
                ml403_ac97cr->capture_irq, dev + 1);
 
+       snd_card_set_dev(card, &pfdev->dev);
+
        err = snd_card_register(card);
        if (err < 0) {
                snd_card_free(card);