Title: [7424] trunk/sound/blackfin/ad73322.c: bug[#5549]sound kernel API has changed
Revision
7424
Author
cliff
Date
2009-09-23 04:37:08 -0400 (Wed, 23 Sep 2009)

Log Message

bug[#5549]sound kernel API has changed

Modified Paths

Diff

Modified: trunk/sound/blackfin/ad73322.c (7423 => 7424)


--- trunk/sound/blackfin/ad73322.c	2009-09-23 08:21:40 UTC (rev 7423)
+++ trunk/sound/blackfin/ad73322.c	2009-09-23 08:37:08 UTC (rev 7424)
@@ -47,11 +47,11 @@
 #include <asm/irq.h>
 #include <asm/gpio.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
-#include <sound/info.h>
-#include <sound/control.h>
 #include <sound/pcm.h>
+#include <sound/pcm_params.h>
+#include <sound/soc.h>
+#include <sound/soc-dapm.h>
 #include <sound/initval.h>
 
 #include "ad73322.h"
@@ -841,7 +841,7 @@
 #endif
 	}
 
-	card = snd_card_new(-1, NULL, THIS_MODULE, sizeof(struct snd_ad73322));
+	snd_card_create(-1, NULL, THIS_MODULE, sizeof(struct snd_ad73322), &card);
 	if (card == NULL)
 		return -ENOMEM;
 	ad73322 = card->private_data;
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to