On 05/08/2012 10:44 PM, Kevin Hilman wrote:
Daniel Lezcanodaniel.lezcano@linaro.org writes:
Define a CPU_IDLE section in the makefile, declare the functions in the header files conforming to the kernel coding rules and remove the 'define's in the C files.
CONFIG_PM is enabled when CPU_IDLE is enabled because the cpuidle drivers use some functions from the pm subsystem.
Signed-off-by: Daniel Lezcanodaniel.lezcano@linaro.org Reviewed-by: Jean Pihetj-pihet@ti.com
The changelog doesn't really answer "why" this change is needed. IOW, I don't understand from the changelog exactly what problem this patch is trying to solve.
AFAICT, it's just shuffling around the dependencies, and changes the omap*_idle_init() calls into inline nops instead of function call nops.
Ok, I will modify the changelog. I'm always bad with the changelogs, this is something I have to improve :) I'm the first one to be happy when I find a nice description in the patches log.
Thanks.
-- Daniel