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

From: Linus Walleij
Date: Wed Oct 05 2011 - 10:17:25 EST


On Mon, Oct 3, 2011 at 5:53 PM, Samuel Ortiz <sameo@xxxxxxxxxxxxxxx> wrote:

>> +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 ?

Not really, both this driver and the watchdog driver are of the
"always-compile-in" (bool) type, you really don't want to load the
watchdog as a module, because then the watchdog cannot safeguard
the module loading process to that point :-P

So we just call these from compile-in code.

I actually have Jonas' watchdog driver ready as well if you want
me to submit it on top of this patch set so you get the whole
picture.

Yours,
Linus Walleij
--
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/