Re: [PATCH 08/23] mfd/db8500-prcmu: add watchdog accessor functions

From: Samuel Ortiz
Date: Mon Oct 03 2011 - 11:50:23 EST


Hi Linus,

On Fri, Aug 12, 2011 at 10:28:33AM +0200, Linus Walleij wrote:
> +int prcmu_config_a9wdog(u8 num, bool sleep_auto_off)
> +{
> + BUG_ON(num == 0 || num > 0xf);
> + return prcmu_a9wdog(MB4H_A9WDOG_CONF, num, 0, 0,
> + sleep_auto_off ? A9WDOG_AUTO_OFF_EN :
> + A9WDOG_AUTO_OFF_DIS);
> +}
> +
> +int prcmu_enable_a9wdog(u8 id)
> +{
> + return prcmu_a9wdog(MB4H_A9WDOG_EN, id, 0, 0, 0);
> +}
> +
> +int prcmu_disable_a9wdog(u8 id)
> +{
> + return prcmu_a9wdog(MB4H_A9WDOG_DIS, id, 0, 0, 0);
> +}
> +
> +int prcmu_kick_a9wdog(u8 id)
> +{
> + return prcmu_a9wdog(MB4H_A9WDOG_KICK, id, 0, 0, 0);
> +}
So I suppose you will eventually export those symbols ?

Cheers,
Samuel.

--
Intel Open Source Technology Centre
http://oss.intel.com/
--
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/