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

From: Darren Hart
Date: Mon Jan 11 2016 - 13:31:36 EST


On Wed, Jan 06, 2016 at 06:02:59PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Queued, thank you.

--
Darren Hart
Intel Open Source Technology Center