From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937705AbdAIOTh (ORCPT ); Mon, 9 Jan 2017 09:19:37 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:51170 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964854AbdAIOT1 (ORCPT ); Mon, 9 Jan 2017 09:19:27 -0500 Date: Mon, 9 Jan 2017 15:16:28 +0100 (CET) From: Thomas Gleixner To: Chris Packham cc: jason@lakedaemon.net, marc.zyngier@arm.com, lee.jones@linaro.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] irqchip: st: avoid compile error when PM is disabled In-Reply-To: <20170104034634.3029-1-chris.packham@alliedtelesis.co.nz> Message-ID: References: <20170104034634.3029-1-chris.packham@alliedtelesis.co.nz> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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