lkml.org 
[lkml]   [2016]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tc1100-wmi: fix build warning when CONFIG_PM not enabled
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

\
 
 \ /
  Last update: 2016-01-11 20:01    [W:0.038 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site