Re: [PATCH] Export pm_suspend

Todd Poynor
2004-06-16T19:35:21Z

Greg KH wrote:
> On Tue, Jun 15, 2004 at 06:13:11PM -0700, Todd Poynor wrote:
>
>>Allow modules to request system suspend via the in-kernel interface, if
>>desired.
>
>
> And who would be so desiring? I don't see any in-kernel code that needs
> this. Care to also submit the code that needs this?

Sorry, my botched phrasing was intended to read more like "if this would
be viewed as a good thing". Since pm_suspend is the "externally visible
function for suspending system" it seems it might be proper to export it
for module use as well, much like various APM and software suspend
functions in the same directory. We only have test code that uses this,
so no big deal on our part; I'll send out a call to some designers who
are building embedded gadgets using pm_suspend() to see if anybody has
interest in this and code to go along with it. Thanks -- Todd