]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8aaba93c1265961333e879c5fc52b16fcaf5ee5c
tree21f9277e5cfe1d41104794827673bfea5d1bc51e
parentd5f4e068c9a080789455fed3601511f233ba724e
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