aboutsummaryrefslogtreecommitdiff
path: root/drivers/video/rockchip
diff options
context:
space:
mode:
authoreric.gao@rock-chips.com2017-06-21 11:15:57 +0800
committerPhilipp Tomsich2017-07-11 12:13:48 +0200
commit0c6d52bc4b78364500f817386af0b4eadc085fe6 (patch)
tree999a09505b881ea7e825ba1d21a807127ef40b54 /drivers/video/rockchip
parent0c9eceb7af8961e945feaaa12c193f29ae65de3f (diff)
rockchip: video: mipi: Modify format type for debug message
Modify format type for debug message. Signed-off-by: Eric Gao <eric.gao@rock-chips.com>
Diffstat (limited to 'drivers/video/rockchip')
-rw-r--r--drivers/video/rockchip/rk_mipi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c
index 1ccd24700bd..1199a30c1a5 100644
--- a/drivers/video/rockchip/rk_mipi.c
+++ b/drivers/video/rockchip/rk_mipi.c
@@ -437,14 +437,14 @@ static int rk_mipi_ofdata_to_platdata(struct udevice *dev)
priv->grf = syscon_get_first_range(ROCKCHIP_SYSCON_GRF);
if (priv->grf <= 0) {
- debug("%s: Get syscon grf failed (ret=%llu)\n",
- __func__, (u64)priv->grf);
+ debug("%s: Get syscon grf failed (ret=%p)\n",
+ __func__, priv->grf);
return -ENXIO;
}
priv->regs = devfdt_get_addr(dev);
if (priv->regs <= 0) {
- debug("%s: Get MIPI dsi address failed (ret=%llu)\n", __func__,
- (u64)priv->regs);
+ debug("%s: Get MIPI dsi address failed (ret=%lu)\n", __func__,
+ priv->regs);
return -ENXIO;
}