aboutsummaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorDaniel Lezcano <[email protected]>2012-05-10 12:02:57 +0200
committerKevin Hilman <[email protected]>2012-06-19 15:22:37 -0700
commit164e0cbf608214bddc4d28e2777f49e7b3a0f65c (patch)
tree99990a0a737b7f2f40f50f0424db986df4c4c959 /include/linux/timerqueue.h
parenta819c4f16d5a2708c11e708fd59a96565c5384a8 (diff)
ARM: OMAP3/4: consolidate cpuidle Makefile
The current Makefile compiles the cpuidle34xx.c and cpuidle44xx.c files even if the cpuidle option is not set in the kernel. This patch fixes this by creating a section in the Makefile where these files are compiled only if the CONFIG_CPU_IDLE option is set. This modification breaks an implicit dependency between CPU_IDLE and PM as they belong to the same block in the Makefile. This is fixed in the Kconfig by selecting explicitely PM is CPU_IDLE is set. The linux coding style recommend to use no-op functions in the headers when the subsystem is disabled instead of adding big section in C files. This patch fix this also. Signed-off-by: Daniel Lezcano <[email protected]> Reviewed-by: Jean Pihet <[email protected]> Reviewed-by: Rajendra Nayak <[email protected]> Signed-off-by: Kevin Hilman <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions