summaryrefslogtreecommitdiff
path: root/drivers/mxc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mxc')
-rw-r--r--drivers/mxc/vpu_windsor/vpu_encoder_b0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/vpu_windsor/vpu_encoder_b0.c b/drivers/mxc/vpu_windsor/vpu_encoder_b0.c
index 021bf5e79bf6..432031d67246 100644
--- a/drivers/mxc/vpu_windsor/vpu_encoder_b0.c
+++ b/drivers/mxc/vpu_windsor/vpu_encoder_b0.c
@@ -4679,10 +4679,10 @@ static ssize_t show_memory_info(struct device *dev,
num += scnprintf(buf + num, PAGE_SIZE - num, "core[%d]\n", i);
for (j = 0; j < ARRAY_SIZE(core->attr); j++) {
- struct vpu_attr *attr = &core->attr[j];
+ struct vpu_attr *attr_loc = &core->attr[j];
unsigned long size;
- size = atomic64_read(&attr->total_dma_size);
+ size = atomic64_read(&attr_loc->total_dma_size);
total_dma_size += size;
num += scnprintf(buf + num, PAGE_SIZE - num,
"\t[%d] : %ld\n", j, size);