PM / wakeup: Fix error when CONFIG_QCOM_SHOW_RESUME_IRQ not defined

Set msm_show_resume_irq_mask to 0 when CONFIG_QCOM_SHOW_RESUME_IRQ
is not defined.

Change-Id: I6637d384051665f02a0e36d24189429813c88188
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
This commit is contained in:
Maria Yu 2017-09-26 14:29:02 +08:00 committed by Avaneesh Kumar Dwivedi
parent 9bfe631c23
commit 904335e764

View File

@ -132,7 +132,11 @@ extern int pm_async_enabled;
/* drivers/base/power/main.c */
extern struct list_head dpm_list; /* The active device list */
#ifdef CONFIG_QCOM_SHOW_RESUME_IRQ
extern int msm_show_resume_irq_mask;
#else
#define msm_show_resume_irq_mask 0
#endif
static inline struct device *to_device(struct list_head *entry)
{