Re: [PATCH V2 2/6] arm_smp_twd: mpcore_wdt: Fix watchdog counter loading

Arnd Bergmann
2011-07-06T12:06:09Z

On Tuesday 05 July 2011, Vitaly Kuzmichev wrote:
> +/* Needed by mpcore_wdt */
> +unsigned long twd_timer_get_rate(void)
> +{
> + unsigned long rate;
> +
> + if (!IS_ERR_OR_NULL(twd_clk))
> + rate = clk_get_rate(twd_clk);
> + else
> + rate = twd_timer_rate;
> + return rate;
> +}
> +EXPORT_SYMBOL(twd_timer_get_rate);

I would generally prefer to make new exported symbols EXPORT_SYMBOL_GPL
instead of EXPORT_SYMBOL.

Arnd