Skip to content
Snippets Groups Projects
Commit 760bce07 authored by Anatolij Gustschin's avatar Anatolij Gustschin
Browse files

video: ati_radeon_fb.c: fix warning while compiling with DEBUG


Fixes this warning:

ati_radeon_fb.c: In function 'radeon_probe':
ati_radeon_fb.c:598: warning: format '%x' expects type 'unsigned int',
but argument 2 has type 'void *'

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent f6a7a2e8
No related branches found
No related tags found
No related merge requests found
......@@ -594,7 +594,7 @@ int radeon_probe(struct radeonfb_info *rinfo)
rinfo->mmio_base = pci_bus_to_virt(pdev, rinfo->mmio_base_bus,
PCI_REGION_MEM, 0, MAP_NOCACHE);
DPRINT("rinfo->mmio_base = 0x%x bus=0x%x\n",
DPRINT("rinfo->mmio_base = 0x%p bus=0x%x\n",
rinfo->mmio_base, rinfo->mmio_base_bus);
rinfo->fb_local_base = INREG(MC_FB_LOCATION) << 16;
DPRINT("rinfo->fb_local_base = 0x%x\n",rinfo->fb_local_base);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment