Re: [BUG?] APM is hidden in menuconfig

From: Rafael J. Wysocki
Date: Wed Feb 20 2008 - 20:23:28 EST


On Thursday, 21 of February 2008, Frans Pop wrote:
> Rafael J. Wysocki wrote:
> > On Wednesday, 20 of February 2008, Jarek Poplawski wrote:
> >> So, has it to be so hard? It seems not - at least in good old times...
> >
> > Something in APM uses some code from drivers/base/power/main.c that
> > depends on PM_SLEEP.
>
> Sure, but that does not make Jarek's point invalid. From a user PoV APM is a
> high-level configuration option. That is what he wants.
> It should thus be easily accessible and not be buried beneath a lot of
> other, much more technical, options.
>
> Could this maybe be solved by making APM automatically 'select' some options
> instead of 'depending' on them?

That, unfortunately, doesn't work.

IMO the solution might be to separate the APM suspend code from the rest of the
APM code and make it depend on (PM_SUSPEND && APM).

Thanks,
Rafael
--
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/