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

Commit 9a6ceca9 authored by Maria Yu's avatar Maria Yu
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 d94e9af7
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -131,7 +131,11 @@ extern int pm_async_enabled;
/* drivers/base/power/main.c */
/* drivers/base/power/main.c */
extern struct list_head dpm_list;	/* The active device list */
extern struct list_head dpm_list;	/* The active device list */


#ifdef CONFIG_QCOM_SHOW_RESUME_IRQ
extern int msm_show_resume_irq_mask;
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)
static inline struct device *to_device(struct list_head *entry)
{
{