ARM: rockchip: dvfs: fix compilation warning
author黄涛 <huangtao@rock-chips.com>
Mon, 16 Jun 2014 12:22:54 +0000 (20:22 +0800)
committer黄涛 <huangtao@rock-chips.com>
Mon, 16 Jun 2014 12:22:54 +0000 (20:22 +0800)
arch/arm/mach-rockchip/dvfs.c

index 74849e1fba6d7c12484bebf066ebd17aad2c9fce..eaa3136a156342baed316bee58cbdbbc087a9363 100644 (file)
@@ -1318,7 +1318,7 @@ static int dump_dbg_map(char *buf)
                                                " enable_dvfs = %s\n",
                                                clk_dvfs_node->name, clk_dvfs_node->set_freq, clk_dvfs_node->set_volt,
                                                clk_dvfs_node->enable_count == 0 ? "DISABLE" : "ENABLE");
-                               printk( "|  |  |- clk limit(%s):[%u, %u]; last set rate = %u\n",
+                               printk( "|  |  |- clk limit(%s):[%u, %u]; last set rate = %lu\n",
                                                clk_dvfs_node->freq_limit_en ? "enable" : "disable",
                                                clk_dvfs_node->min_rate, clk_dvfs_node->max_rate,
                                                clk_dvfs_node->last_set_rate/1000);