]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/soc/omap/omap-pcm.c
Merge branch 'fix/asoc' into topic/asoc
[linux-2.6-omap-h63xx.git] / sound / soc / omap / omap-pcm.c
index ce580a97cbd578bfbaab2dba30f292f8763804df..803581c9280d7d9d53b00b35c39d2a5e68b1a72e 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;