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


Groups > linux.kernel > #1306593

Re: [PATCH] tc1100-wmi: fix build warning when CONFIG_PM not enabled

From Darren Hart <dvhart@infradead.org>
Newsgroups linux.kernel
Subject Re: [PATCH] tc1100-wmi: fix build warning when CONFIG_PM not enabled
Date 2016-01-11 19:40 +0100
Message-ID <qPPxL-6bh-3@gated-at.bofh.it> (permalink)
References <qO0H1-4Es-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jan 06, 2016 at 06:02:59PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> Conditionally declare suspend_data on CONFIG_PM to avoid
> the following warning when CONFIG_OM is not enabled:
> 
> drivers/platform/x86/tc1100-wmi.c:55:27: warning:
>   'suspend_data' defined but not used [-Wunused-variable]
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Queued, thank you.

-- 
Darren Hart
Intel Open Source Technology Center

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


Thread

[PATCH] tc1100-wmi: fix build warning when CONFIG_PM not enabled Colin King <colin.king@canonical.com> - 2016-01-06 19:10 +0100
  Re: [PATCH] tc1100-wmi: fix build warning when CONFIG_PM not enabled Darren Hart <dvhart@infradead.org> - 2016-01-11 19:40 +0100

csiph-web