Permalink
Browse files

jz4740: clock: Fix value returned by clk_get_rate() for the "pll" clock.

Since jz_clk_pll is not a static_clk, using jz_clk_static_get_rate() on it is not appropriate.
  • Loading branch information...
1 parent 0cb203e commit bf7a28bf0d34c3796df7d0547947ba43705560a5 @mthuurne committed Jun 25, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 arch/mips/jz4740/clock.c
View
@@ -314,7 +314,7 @@ static struct static_clk jz_clk_ext = {
};
static struct clk_ops jz_clk_pll_ops = {
- .get_rate = jz_clk_static_get_rate,
+ .get_rate = jz_clk_pll_get_rate,
};
static struct clk jz_clk_pll = {

0 comments on commit bf7a28b

Please sign in to comment.