]> git.sur5r.net Git - u-boot/commitdiff
rockchip: video: mipi: Modify format type for debug message
authoreric.gao@rock-chips.com <eric.gao@rock-chips.com>
Wed, 21 Jun 2017 03:15:57 +0000 (11:15 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Tue, 11 Jul 2017 10:13:48 +0000 (12:13 +0200)
Modify format type for debug message.

Signed-off-by: Eric Gao <eric.gao@rock-chips.com>
drivers/video/rockchip/rk_mipi.c

index 1ccd24700bd712ffc13a75047240abbd944cb6a1..1199a30c1a5a0f0b78c7b9ddad6742a2b597b6b7 100644 (file)
@@ -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;
        }