HID: intel-ish-hid: Fix !CONFIG_PM build warning
authorBorislav Petkov <bp@suse.de>
Sat, 29 Oct 2016 11:17:40 +0000 (13:17 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 3 Nov 2016 18:12:09 +0000 (12:12 -0600)
commit1793e1c5217c2dc447d79720399a1d4e60c47761
tree21f9277e5cfe1d41104794827673bfea5d1bc51e
parent5459ada2b3cd69e6bf1b0c034feb810975d0072b
HID: intel-ish-hid: Fix !CONFIG_PM build warning

Fix

  drivers/hid/intel-ish-hid/ipc/pci-ish.c:247:12: warning: ‘ish_suspend’ defined but not used [-Wunused-function]
   static int ish_suspend(struct device *device)
              ^
  drivers/hid/intel-ish-hid/ipc/pci-ish.c:282:12: warning: ‘ish_resume’ defined but not used [-Wunused-function]
   static int ish_resume(struct device *device)
            ^
by sticking them in the CONFIG_PM range too.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Wei Yongjun <weiyongjun1@huawei.com>
Cc: linux-input@vger.kernel.org
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/intel-ish-hid/ipc/pci-ish.c