summaryrefslogtreecommitdiffstats
path: root/sound/arm/imx2-pcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/arm/imx2-pcm.c')
-rw-r--r--sound/arm/imx2-pcm.c3
1 files changed, 2 insertions, 1 deletions
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;