[PATCH 1/9] ARM: cpuidle: remove useless declaration

Santosh Shilimkar santosh.shilimkar at ti.com
Fri Mar 29 07:40:54 EDT 2013


On Friday 29 March 2013 04:01 PM, Daniel Lezcano wrote:
> The noop functions code is not necessary because the header file is
> included in files which are compiled when CONFIG_CPU_IDLE is on.
> 
Well the inline function was to avoid buid breaks when
!CONFIG_CPU_IDLE.
> Signed-off-by: Daniel Lezcano <daniel.lezcano at linaro.org>
> ---
Function without definition will break the build, No? Just
declaration isn't won't help to get the build through.

Ofcourse if all idle drivers are build *only when*
CONFIG_CPU_IDLE=y, then the patch is should
be fine.

Regards,
Santosh



More information about the linux-arm-kernel mailing list