Commit fb42b1da authored by Lee Jones's avatar Lee Jones Committed by Benjamin Tissoires

HID: ishtp-hid-client: Fix incorrect function name report_bad_packet()

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

 drivers/hid/intel-ish-hid/ishtp-hid-client.c:36: warning: expecting prototype for report_bad_packets(). Prototype was for report_bad_packet() instead

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: default avatarLee Jones <lee.jones@linaro.org>
Acked-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
parent 5f87e027
...@@ -23,7 +23,7 @@ static const guid_t hid_ishtp_guid = ...@@ -23,7 +23,7 @@ static const guid_t hid_ishtp_guid =
#define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device) #define cl_data_to_dev(client_data) ishtp_device(client_data->cl_device)
/** /**
* report_bad_packets() - Report bad packets * report_bad_packet() - Report bad packets
* @hid_ishtp_cl: Client instance to get stats * @hid_ishtp_cl: Client instance to get stats
* @recv_buf: Raw received host interface message * @recv_buf: Raw received host interface message
* @cur_pos: Current position index in payload * @cur_pos: Current position index in payload
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment