diff options
Diffstat (limited to 'arch/xtensa/platforms')
-rw-r--r-- | arch/xtensa/platforms/xtfpga/setup.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/xtensa/platforms/xtfpga/setup.c b/arch/xtensa/platforms/xtfpga/setup.c index c7ce62ff73f7..74bb74fa3f87 100644 --- a/arch/xtensa/platforms/xtfpga/setup.c +++ b/arch/xtensa/platforms/xtfpga/setup.c | |||
@@ -179,8 +179,7 @@ void __init platform_calibrate_ccount(void) | |||
179 | if (!clk_freq) | 179 | if (!clk_freq) |
180 | clk_freq = *(long *)XTFPGA_CLKFRQ_VADDR; | 180 | clk_freq = *(long *)XTFPGA_CLKFRQ_VADDR; |
181 | 181 | ||
182 | ccount_per_jiffy = clk_freq / HZ; | 182 | ccount_freq = clk_freq; |
183 | nsec_per_ccount = 1000000000UL / clk_freq; | ||
184 | } | 183 | } |
185 | 184 | ||
186 | #endif | 185 | #endif |