projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e0fb27f
)
arm: rockchip: ddr_freq: fix compilation warning
author
Huang, Tao
<huangtao@rock-chips.com>
Mon, 4 May 2015 11:51:17 +0000
(19:51 +0800)
committer
Huang, Tao
<huangtao@rock-chips.com>
Mon, 4 May 2015 11:51:17 +0000
(19:51 +0800)
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
arch/arm/mach-rockchip/ddr_freq.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/ddr_freq.c
b/arch/arm/mach-rockchip/ddr_freq.c
index 66b6e2afe108333e766b41665c3d3441e95a1f09..09a1d80413b726bbf8569ced6b4590a877cde9e1 100644
(file)
--- a/
arch/arm/mach-rockchip/ddr_freq.c
+++ b/
arch/arm/mach-rockchip/ddr_freq.c
@@
-229,7
+229,7
@@
static void ddr_auto_freq(void)
{
unsigned long freq, new_freq=0, vop_req_freq=0, total_bw_req_freq=0;
u32 ddr_percent, target_load;
- static u
32
local_jiffies=0, max_ddr_percent=0;
+ static u
nsigned long
local_jiffies=0, max_ddr_percent=0;
if (!local_jiffies)
local_jiffies = jiffies;
@@
-552,7
+552,7
@@
static ssize_t video_state_write(struct file *file, const char __user *buffer,
return -EFAULT;
}
- dprintk(DEBUG_VIDEO_STATE, "%s: %s,len %
d
\n", __func__, cookie_pot,count);
+ dprintk(DEBUG_VIDEO_STATE, "%s: %s,len %
zu
\n", __func__, cookie_pot,count);
state=cookie_pot[0];
if( (count>=3) && (cookie_pot[2]=='w') )