From 726d8a748e45275a0f9fe1e205bb147be3fb67ba Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 30 Jun 2009 16:26:25 +0200 Subject: add to i.MX27 sound support Signed-off-by: Sascha Hauer --- sound/arm/imx2-pcm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/arm/imx2-pcm.c b/sound/arm/imx2-pcm.c index a192f8b5c80..bae491a9056 100644 --- a/sound/arm/imx2-pcm.c +++ b/sound/arm/imx2-pcm.c @@ -516,7 +516,8 @@ static int __devinit snd_imx_probe(struct platform_device *pdev) struct imx_sound_platform_data *pdata; /* register the soundcard */ - card = snd_card_new(-1, "PMICaudio", THIS_MODULE, 2 * sizeof(struct imx_snd_card)); + snd_card_create(-1, "PMICaudio", THIS_MODULE, + 2 * sizeof(struct imx_snd_card), &card); if (!card) return -ENOMEM; -- cgit v1.2.3