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:
d0d8ba8
)
rk3066: fix compile warning
author
chenxing
<chenxing@rock-chips.com>
Fri, 12 Jul 2013 03:04:36 +0000
(11:04 +0800)
committer
chenxing
<chenxing@rock-chips.com>
Fri, 12 Jul 2013 03:04:50 +0000
(11:04 +0800)
arch/arm/mach-rk30/clock_data.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk30/clock_data.c
b/arch/arm/mach-rk30/clock_data.c
index 3724f7020349304d6d271c6bef7d8a89f571d960..00b7d6317c7b442f337e643a07f72512753d0338 100644
(file)
--- a/
arch/arm/mach-rk30/clock_data.c
+++ b/
arch/arm/mach-rk30/clock_data.c
@@
-1260,8
+1260,8
@@
static int core_clksel_set_parent(struct clk *clk, struct clk *new_prt)
static int core_gpll_clk_set_rate(struct clk *c, unsigned long rate)
{
- unsigned long flags;
- u32 pll_id=APLL_ID;
+
//
unsigned long flags;
+
//
u32 pll_id=APLL_ID;
u32 temp_div;
u32 old_aclk_div=0,new_aclk_div;
struct arm_clks_div_set *temp_clk_div;
@@
-3299,7
+3299,7
@@
static void periph_clk_set_init(void)
void rk30_clock_common_i2s_init(void)
{
- struct clk *max_clk,*min_clk;
+
//
struct clk *max_clk,*min_clk;
unsigned long i2s_rate;
//20 times
if(rk30_clock_flags&CLK_FLG_MAX_I2S_49152KHZ)