]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/omap/omap-pcm.c
ALSA: Fix a Oops bug in omap soc driver.
[linux-2.6-omap-h63xx.git] / sound / soc / omap / omap-pcm.c
index e9084fdd2082efcbc14695e801ec6ad89ff66599..acd68efb2b758dc59692036d4bd6f445854dc985 100644 (file)
@@ -233,7 +233,7 @@ static int omap_pcm_open(struct snd_pcm_substream *substream)
        if (ret < 0)
                goto out;
 
-       prtd = kzalloc(sizeof(prtd), GFP_KERNEL);
+       prtd = kzalloc(sizeof(*prtd), GFP_KERNEL);
        if (prtd == NULL) {
                ret = -ENOMEM;
                goto out;