pinctrl-msm: Fix build with SHOW_RESUME_IRQ disabled

Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
Jebaitedneko 2021-05-24 09:01:49 +05:30 committed by Adithya R
parent 9ef1185597
commit 10a274c7f6

View File

@ -1827,6 +1827,12 @@ static void msm_pinctrl_setup_pm_reset(struct msm_pinctrl *pctrl)
}
#ifdef CONFIG_PM
#ifdef CONFIG_QCOM_SHOW_RESUME_IRQ
extern int msm_show_resume_irq_mask;
#else
#define msm_show_resume_irq_mask 0
#endif
#ifdef CONFIG_HIBERNATION
static bool hibernation;