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

Commit 0a68a39b authored by Maria Yu's avatar Maria Yu Committed by Rishabh Bhatnagar
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>
Signed-off-by: default avatarRishabh Bhatnagar <rishabhb@codeaurora.org>
parent e8d87f1c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -98,7 +98,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)
{