From: eric.gao@rock-chips.com Date: Wed, 21 Jun 2017 03:15:57 +0000 (+0800) Subject: rockchip: video: mipi: Modify format type for debug message X-Git-Tag: v2017.09-rc1~215^2~19 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c6d52bc4b78364500f817386af0b4eadc085fe6;p=u-boot rockchip: video: mipi: Modify format type for debug message Modify format type for debug message. Signed-off-by: Eric Gao --- diff --git a/drivers/video/rockchip/rk_mipi.c b/drivers/video/rockchip/rk_mipi.c index 1ccd24700b..1199a30c1a 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; }