HID: ishtp-hid-client: Move variable to where it's actually used
authorLee Jones <lee.jones@linaro.org>
Fri, 26 Mar 2021 14:34:35 +0000 (14:34 +0000)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Wed, 7 Apr 2021 15:55:45 +0000 (17:55 +0200)
commita2e7aa05d2ad41a3cfb60323f36a87ed7760bd8b
tree987fdcecc577910c55d1d01c1aa84045454a30bd
parent4ce3ba52340165c33d1a43a407a138028e210b21
HID: ishtp-hid-client: Move variable to where it's actually used

Fixes the following W=1 kernel build warning(s):

 In file included from drivers/hid/intel-ish-hid/ishtp-hid.c:11:
     drivers/hid/intel-ish-hid/ishtp-hid.h:24:21: warning: ‘hid_ishtp_guid’ defined but not used [-Wunused-const-variable=]

Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Daniel Drubin <daniel.drubin@intel.com>
Cc: linux-input@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/intel-ish-hid/ishtp-hid-client.c
drivers/hid/intel-ish-hid/ishtp-hid.h