mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
video: xilinxfb: Fix compilation warning
regs_phys is phys_addr_t (u32 or u64).
Lets use %pa printk format specifier.
Fixes compilation warning introduced by:
video: xilinxfb: Use drvdata->regs_phys instead of physaddr
(sha1: c88fafef01)
Signed-off-by: Michal Simek <[email protected]>
Reviewed-by: Jingoo Han <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
This commit is contained in:
parent
3b2f64d00c
commit
bf265c848f
1 changed files with 2 additions and 2 deletions
|
|
@ -341,8 +341,8 @@ static int xilinxfb_assign(struct platform_device *pdev,
|
|||
|
||||
if (drvdata->flags & BUS_ACCESS_FLAG) {
|
||||
/* Put a banner in the log (for DEBUG) */
|
||||
dev_dbg(dev, "regs: phys=%x, virt=%p\n", drvdata->regs_phys,
|
||||
drvdata->regs);
|
||||
dev_dbg(dev, "regs: phys=%pa, virt=%p\n",
|
||||
&drvdata->regs_phys, drvdata->regs);
|
||||
}
|
||||
/* Put a banner in the log (for DEBUG) */
|
||||
dev_dbg(dev, "fb: phys=%llx, virt=%p, size=%x\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue