summaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorArnaud Patard (Rtp) <arnaud.patard@rtp-net.org>2021-03-05 11:27:52 +0100
committerAnatolij Gustschin <agust@denx.de>2021-04-10 11:55:37 +0200
commit3fd64112cea5d5182e08698fb53ffd1589896086 (patch)
tree2532ae20aa3aa5c579b7ceee9edb486d64750c74 /drivers/video
parent4db3926874a6a17cca1f97a4fd92e58e9182a272 (diff)
rockchip: video: vop: Fix format of fbbase in debug string
The debug string printing the device name, framebuffer address and of node is using %lu as format for the framebuffer address, which is not so nice. Change it to %lx. Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org> Tested-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/rockchip/rk_vop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/rockchip/rk_vop.c b/drivers/video/rockchip/rk_vop.c
index 3eb5e8c25ca..030fc5e66c6 100644
--- a/drivers/video/rockchip/rk_vop.c
+++ b/drivers/video/rockchip/rk_vop.c
@@ -240,7 +240,7 @@ static int rk_display_init(struct udevice *dev, ulong fbbase, ofnode ep_node)
ofnode remote;
const char *compat;
- debug("%s(%s, %lu, %s)\n", __func__,
+ debug("%s(%s, 0x%lx, %s)\n", __func__,
dev_read_name(dev), fbbase, ofnode_get_name(ep_node));
ret = ofnode_read_u32(ep_node, "remote-endpoint", &remote_phandle);