tc1100-wmi: fix build warning when CONFIG_PM not enabled
authorColin Ian King <colin.king@canonical.com>
Wed, 6 Jan 2016 18:02:59 +0000 (18:02 +0000)
committerDarren Hart <dvhart@linux.intel.com>
Wed, 20 Jan 2016 01:35:47 +0000 (17:35 -0800)
commit75d7e7d7a8f4966cb8b1da54a1c74fb2a97ae8fc
treed908e7f8de834509c8af81d42bee2db6a37d9f04
parentb0a095fc193a5f257c3609b09298c0705fc32c0b
tc1100-wmi: fix build warning when CONFIG_PM not enabled

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>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/tc1100-wmi.c