Re: Export clocks_calc_mult_shift() function

From: John Stultz
Date: Tue Mar 08 2016 - 17:53:18 EST

On Wed, Mar 9, 2016 at 5:25 AM, Murali Karicheri <m-karicheri2@xxxxxx> wrote:
> Hi,
> I found a patch posted sometime back to export the clocksource
> function clocks_calc_mult_shift() so that it can be called by
> drivers that are dynamically loadable. I have not seen any
> comment against this. Wondering why this is not merged. We require
> this function exported for use in our driver as well. Can you merge
> the patch please. Or do you suggest me to repost the same?

Why would the clocksource driver need to calculate the hz/shift value
instead of using the clocksource_register_hz/khz functions?