summaryrefslogtreecommitdiff
path: root/kernel/time/alarmtimer.c
diff options
context:
space:
mode:
authorLingutla Chandrasekhar <clingutla@codeaurora.org>2015-10-16 19:35:43 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-23 21:23:46 -0700
commit2fbd2f64e42288e62387ebdf26bba4febef01836 (patch)
treef294a41f902e264f882511255a6fe32d6f1b604a /kernel/time/alarmtimer.c
parent4b81b05c57d2501abbb5a07599ec6fabe011994a (diff)
time: alarmtimer: include lpm-levels for MSM targets only
lpm-level headers required only when CONFIG_MSM_PM is set. To compile msm kernel for other targets (arch=um), add config check to include lpm levels. Change-Id: Ia1bd51da4952e56b945a5e51a3b1ff8aaa643cd5 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org> Signed-off-by: Jeevan Shriram <jshriram@codeaurora.org>
Diffstat (limited to 'kernel/time/alarmtimer.c')
-rw-r--r--kernel/time/alarmtimer.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/time/alarmtimer.c b/kernel/time/alarmtimer.c
index fde72e7d6e67..0cdc34ebd8d1 100644
--- a/kernel/time/alarmtimer.c
+++ b/kernel/time/alarmtimer.c
@@ -25,7 +25,10 @@
#include <linux/posix-timers.h>
#include <linux/workqueue.h>
#include <linux/freezer.h>
+
+#ifdef CONFIG_MSM_PM
#include "lpm-levels.h"
+#endif
#include <linux/workqueue.h>
/**