diff options
Diffstat (limited to 'arch/arm/mach-integrator/impd1.c')
-rw-r--r-- | arch/arm/mach-integrator/impd1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-integrator/impd1.c b/arch/arm/mach-integrator/impd1.c index 5aca7ebea3c..ecce3eb8fe0 100644 --- a/arch/arm/mach-integrator/impd1.c +++ b/arch/arm/mach-integrator/impd1.c | |||
@@ -41,7 +41,7 @@ struct impd1_module { | |||
41 | }; | 41 | }; |
42 | 42 | ||
43 | static const struct icst_params impd1_vco_params = { | 43 | static const struct icst_params impd1_vco_params = { |
44 | .ref = 24000, /* 24 MHz */ | 44 | .ref = 24000000, /* 24 MHz */ |
45 | .vco_max = ICST525_VCO_MAX_3V, | 45 | .vco_max = ICST525_VCO_MAX_3V, |
46 | .vd_min = 12, | 46 | .vd_min = 12, |
47 | .vd_max = 519, | 47 | .vd_max = 519, |
@@ -73,8 +73,8 @@ static void impd1_setvco(struct clk *clk, struct icst_vco vco) | |||
73 | vco.r = (val >> 9) & 0x7f; | 73 | vco.r = (val >> 9) & 0x7f; |
74 | vco.s = (val >> 16) & 7; | 74 | vco.s = (val >> 16) & 7; |
75 | 75 | ||
76 | pr_debug("IM-PD1: VCO%d clock is %ld kHz\n", | 76 | pr_debug("IM-PD1: VCO%d clock is %ld Hz\n", |
77 | vconr, icst525_khz(&impd1_vco_params, vco)); | 77 | vconr, icst525_hz(&impd1_vco_params, vco)); |
78 | #endif | 78 | #endif |
79 | } | 79 | } |
80 | 80 | ||