![]() | |||||||||||||
Messages in this thread |
Hi. On Thu, 2007-01-25 at 12:05 +0100, Ingo Molnar wrote: > it might be better to do this centrally in sysfs, via a per-device > attribute, to individually enable suspend and resume on a per device > basis, but my sysfs-fu is not strong enough for that now ;-) Yeah. I was thinking recently of doing a per-device attribute, but like so many things at the moment, getting around to it is a little bit of a problem. > Signed-off-by: Ingo Molnar <mingo@elte.hu> > --- > drivers/base/power/resume.c | 6 ++++ > drivers/base/power/suspend.c | 3 +- > include/linux/resume-trace.h | 6 ++++ > kernel/power/main.c | 58 +++++++++++++++++++++++++++++++++++++++++++ Should the sysfs stuff (not just this) be in kernel/power/main.c? I wonder if it would be better put in drivers/base? Regards, Nigel - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ | ||||||||||||
| Last update: 2007-01-25 12:13 [from the cache] ©2003-2008 | |||||||||||||