diff options
author | Borislav Petkov <bp@suse.de> | 2016-10-29 13:17:40 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-11-03 12:12:09 -0600 |
commit | 1793e1c5217c2dc447d79720399a1d4e60c47761 (patch) | |
tree | 21f9277e5cfe1d41104794827673bfea5d1bc51e /include | |
parent | 5459ada2b3cd69e6bf1b0c034feb810975d0072b (diff) |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions