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

From: Arnd Bergmann
Date: Wed Jul 06 2011 - 08:06:16 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/