From: Laurent Pinchart Date: Tue, 15 Apr 2014 15:13:35 +0000 (+0200) Subject: dma: mmp_pdma: Fix physical channel memory allocation size X-Git-Tag: omap-for-v3.16/fixes-against-rc1~69^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=593d9c2e10bc66f1c5cf1adb5eeb709432eb616d;p=pandora-kernel.git dma: mmp_pdma: Fix physical channel memory allocation size Use sizeof(*var) instead of sizeof(type) when calling devm_k*alloc(). This avoids using the wrong type as was done to allocate the physical channels array. Signed-off-by: Laurent Pinchart Signed-off-by: Vinod Koul --- Reading git-diff-tree failed