[PATCH 19/20] clocksource: atmel-st: get and use slow clock
Daniel Lezcano
daniel.lezcano at linaro.org
Tue Aug 4 03:31:19 PDT 2015
On 07/30/2015 02:22 AM, Alexandre Belloni wrote:
> The current slow clock rate is hardcoded. Properly get the slow clock
> and use its rate.
>
> Signed-off-by: Alexandre Belloni <alexandre.belloni at free-electrons.com>
> ---
[ ... ]
> +struct clk *sclk;
Do you need this variable global ? AFAICS, its scope is in the init
function, no ?
> +int timer_latch;
static.
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
More information about the linux-arm-kernel
mailing list