diff options
author | Anatolij Gustschin <agust@denx.de> | 2010-04-08 15:50:55 +0200 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-04-08 15:59:16 +0200 |
commit | 760bce07f182f678d42f2a85a0e47b59e831ba25 (patch) | |
tree | ae7d71cff9744033c6da4dc06508a0401415027d | |
parent | f6a7a2e88854666e6a9ede50891fe415e803ace2 (diff) | |
download | bootable_bootloader_goldelico_gta04-760bce07f182f678d42f2a85a0e47b59e831ba25.zip bootable_bootloader_goldelico_gta04-760bce07f182f678d42f2a85a0e47b59e831ba25.tar.gz bootable_bootloader_goldelico_gta04-760bce07f182f678d42f2a85a0e47b59e831ba25.tar.bz2 |
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: Anatolij Gustschin <agust@denx.de>
-rw-r--r-- | drivers/video/ati_radeon_fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/ati_radeon_fb.c b/drivers/video/ati_radeon_fb.c index f797104..4a9bd07 100644 --- a/drivers/video/ati_radeon_fb.c +++ b/drivers/video/ati_radeon_fb.c @@ -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); |