summaryrefslogtreecommitdiffstats
path: root/drivers/eisa
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2014-04-15 17:13:35 +0200
committerVinod Koul <vinod.koul@intel.com>2014-05-02 17:49:07 +0200
commit593d9c2e10bc66f1c5cf1adb5eeb709432eb616d (patch)
treeae663809b01d865620daea0870a6a43e5e6b236a /drivers/eisa
parentdma: mmp_pdma: Simplify access to channel drcmr value (diff)
downloadlinux-593d9c2e10bc66f1c5cf1adb5eeb709432eb616d.tar.xz
linux-593d9c2e10bc66f1c5cf1adb5eeb709432eb616d.zip
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 <laurent.pinchart@ideasonboard.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/eisa')
0 files changed, 0 insertions, 0 deletions