Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1554366

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

From Thomas Gleixner <tglx@linutronix.de>
Newsgroups linux.kernel
Subject Re: [PATCH] irqchip: st: avoid compile error when PM is disabled
Date 2017-01-09 15:20 +0100
Message-ID <sXIXM-5gj-9@gated-at.bofh.it> (permalink)
References <sVKKl-7w2-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] irqchip: st: avoid compile error when PM is disabled Chris Packham <chris.packham@alliedtelesis.co.nz> - 2017-01-04 04:50 +0100
  Re: [PATCH] irqchip: st: avoid compile error when PM is disabled Thomas Gleixner <tglx@linutronix.de> - 2017-01-09 15:20 +0100

csiph-web