Skip to content

Commit

Permalink
video: xilinxfb: Use drvdata->regs_phys instead of physaddr
Browse files Browse the repository at this point in the history
physaddr will be remove in the next patch.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
  • Loading branch information
Michal Simek authored and Tomi Valkeinen committed Jun 26, 2013
1 parent 5130af3 commit c88fafe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ static int xilinxfb_assign(struct device *dev,

if (drvdata->flags & BUS_ACCESS_FLAG) {
/* 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);
}
/* Put a banner in the log (for DEBUG) */
Expand Down Expand Up @@ -353,7 +353,7 @@ static int xilinxfb_assign(struct device *dev,

err_map:
if (drvdata->flags & BUS_ACCESS_FLAG)
release_mem_region(physaddr, 8);
release_mem_region(drvdata->regs_phys, 8);

err_region:
kfree(drvdata);
Expand Down

0 comments on commit c88fafe

Please sign in to comment.