Re: [PATCH] OLPC: Add XO-1 poweroff support

From: Daniel Drake
Date: Thu Oct 07 2010 - 16:43:06 EST


On 7 October 2010 21:09, Andres Salomon <dilinger@xxxxxxxxxx> wrote:
> Any particular reason why this can't be modular?

Because of the pm_power_off thing.
Also, a similar situation would be encountered with set_suspend_ops().

I don't really understand your suggestion. If we set it to NULL on
module unload then the power off would crash on shutdown, right?

Daniel
--
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/