Patch "tc1100-wmi: fix build warning when CONFIG_PM not enabled" has been added to the 4.4-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
tc1100-wmi: fix build warning when CONFIG_PM not enabled
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
tc1100-wmi-fix-build-warning-when-config_pm-not-enabled.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
75d7e7d7a8f4966cb8b1da54a1c74fb2a97ae8fcMon Sep 17 00:00:00 2001
From: Colin Ian King <[email protected]>
Date: Wed, 6 Jan 2016 18:02:59 +0000
Subject: tc1100-wmi: fix build warning when CONFIG_PM not enabled
From: Colin Ian King <[email protected]>
commit 75d7e7d7a8f4966cb8b1da54a1c74fb2a97ae8fc upstream.
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]
--- drivers/platform/x86/tc1100-wmi.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/platform/x86/tc1100-wmi.c +2 -0
@@ -52,7 +52,9 @@ struct tc1100_data {u32 jogdial; }; +#ifdef CONFIG_PM static struct tc1100_data suspend_data; +#endif /* -------------------------------------------------------------------------- Device Management
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/tc1100-wmi-fix-build-warning-when-config_pm-not-enabled.patch queue-4.4/iio-adc-axp288-remove-redundant-duplicate-const-on-axp288_adc_channels.patch queue-4.4/x86-spectre-fix-spelling-mistake-vunerable-vulnerable.patch