Commit c88fafef authored by Michal Simek's avatar Michal Simek Committed by Tomi Valkeinen

video: xilinxfb: Use drvdata->regs_phys instead of physaddr

physaddr will be remove in the next patch.
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 5130af35
...@@ -325,7 +325,7 @@ static int xilinxfb_assign(struct device *dev, ...@@ -325,7 +325,7 @@ static int xilinxfb_assign(struct device *dev,
if (drvdata->flags & BUS_ACCESS_FLAG) { if (drvdata->flags & BUS_ACCESS_FLAG) {
/* Put a banner in the log (for DEBUG) */ /* Put a banner in the log (for DEBUG) */
dev_dbg(dev, "regs: phys=%lx, virt=%p\n", physaddr, dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys,
drvdata->regs); drvdata->regs);
} }
/* Put a banner in the log (for DEBUG) */ /* Put a banner in the log (for DEBUG) */
...@@ -353,7 +353,7 @@ static int xilinxfb_assign(struct device *dev, ...@@ -353,7 +353,7 @@ static int xilinxfb_assign(struct device *dev,
err_map: err_map:
if (drvdata->flags & BUS_ACCESS_FLAG) if (drvdata->flags & BUS_ACCESS_FLAG)
release_mem_region(physaddr, 8); release_mem_region(drvdata->regs_phys, 8);
err_region: err_region:
kfree(drvdata); kfree(drvdata);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment