Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 904335e7 authored by Maria Yu's avatar Maria Yu Committed by Avaneesh Kumar Dwivedi
Browse files

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: default avatarMaria Yu <aiquny@codeaurora.org>
parent 9bfe631c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)
{