arm: rockchip: pm: fix compilation warning
authorHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 12:02:11 +0000 (20:02 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 4 May 2015 12:02:11 +0000 (20:02 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm/mach-rockchip/rockchip_pm.c

index 9a9ce3c6419729f7d6d3f040e13e02a6e0f88a67..495da280ef4759cdd03b45381de01f614fa0a3c5 100755 (executable)
@@ -26,7 +26,7 @@ void  rkpm_ddr_regs_dump(void __iomem * base_addr,u32 start_offset,u32 end_offse
         //u32 line=0;
 
         rkpm_ddr_printascii("start from:");     
-        rkpm_ddr_printhex((u32)(base_addr +start_offset));       
+       rkpm_ddr_printhex((unsigned long)base_addr + start_offset);
         rkpm_ddr_printch('\n');