Re: [PATCH] irqchip: st: avoid compile error when PM is disabled

From: Thomas Gleixner
Date: Mon Jan 09 2017 - 09:19:47 EST


On Wed, 4 Jan 2017, Chris Packham wrote:

> When power management is disabled in the kernel configuration compiler
> will complain that st_irq_syscfg_resume is defined but not used. Wrap
> the function definition with CONFIG_PM_SLEEP as per other users of
> SIMPLE_DEV_PM_OPS.

That's already fixed by:

f357563f958d: irqchip/st: Mark st_irq_syscfg_resume() __maybe_unused

Thanks,

tglx