* @shift: pointer to shift variable
* @from: frequency to convert from
* @to: frequency to convert to
* @shift: pointer to shift variable
* @from: frequency to convert from
* @to: frequency to convert to
*
* The function evaluates the shift/mult pair for the scaled math
* operations of clocksources and clockevents.
*
* The function evaluates the shift/mult pair for the scaled math
* operations of clocksources and clockevents.
* NSEC_PER_SEC == 1GHz and @from is the counter frequency. For clock
* event @to is the counter frequency and @from is NSEC_PER_SEC.
*
* NSEC_PER_SEC == 1GHz and @from is the counter frequency. For clock
* event @to is the counter frequency and @from is NSEC_PER_SEC.
*
* seconds which must be covered by the runtime conversion with the
* calculated mult and shift factors. This guarantees that no 64bit
* overflow happens when the input value of the conversion is
* seconds which must be covered by the runtime conversion with the
* calculated mult and shift factors. This guarantees that no 64bit
* overflow happens when the input value of the conversion is
-clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 minsec)
+clocks_calc_mult_shift(u32 *mult, u32 *shift, u32 from, u32 to, u32 maxsec)
__clocksource_updatefreq_scale(cs, scale, freq);
/* Add clocksource to the clcoksource list */
__clocksource_updatefreq_scale(cs, scale, freq);
/* Add clocksource to the clcoksource list */