• Borislav Petkov's avatar
    HID: intel-ish-hid: Fix !CONFIG_PM build warning · 1793e1c5
    Borislav Petkov authored
    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: default avatarBorislav 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: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
    Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
    1793e1c5
pci-ish.c 7.63 KB