aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/mmp/hw/mmp_ctrl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/mmp/hw/mmp_ctrl.c')
-rw-r--r--drivers/video/mmp/hw/mmp_ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/mmp/hw/mmp_ctrl.c b/drivers/video/mmp/hw/mmp_ctrl.c
index 4bd31b2af398..cc62a79ed0cd 100644
--- a/drivers/video/mmp/hw/mmp_ctrl.c
+++ b/drivers/video/mmp/hw/mmp_ctrl.c
@@ -238,7 +238,7 @@ static int overlay_set_addr(struct mmp_overlay *overlay, struct mmp_addr *addr)
238 struct lcd_regs *regs = path_regs(overlay->path); 238 struct lcd_regs *regs = path_regs(overlay->path);
239 239
240 /* FIXME: assert addr supported */ 240 /* FIXME: assert addr supported */
241 memcpy(&overlay->addr, addr, sizeof(struct mmp_win)); 241 memcpy(&overlay->addr, addr, sizeof(struct mmp_addr));
242 writel(addr->phys[0], &regs->g_0); 242 writel(addr->phys[0], &regs->g_0);
243 243
244 return overlay->addr.phys[0]; 244 return overlay->addr.phys[0];