projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b2f64d
)
video: xilinxfb: Fix compilation warning
author
Michal Simek
<michal.simek@xilinx.com>
Thu, 25 Jul 2013 13:45:26 +0000
(15:45 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 26 Jul 2013 07:24:53 +0000
(10:24 +0300)
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:
c88fafef0135e1e1c3e23c3e32ccbeeabc587f81
)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/xilinxfb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/xilinxfb.c
b/drivers/video/xilinxfb.c
index f3d4a69e1e4e9058c4c4cc605705f1d62d923a48..6629b29a820221eedfe774a1cd4c62163bd29bb1 100644
(file)
--- a/
drivers/video/xilinxfb.c
+++ b/
drivers/video/xilinxfb.c
@@
-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",