Skip to content

Commit cd2bb7b

Browse files
Lee Jonesbentiss
authored andcommitted
HID: hid-core: Fix incorrect function name in header
Fixes the following W=1 kernel build warning(s): drivers/hid/hid-core.c:2142: warning: expecting prototype for store_new_id(). Prototype was for new_id_store() instead Cc: Jiri Kosina <jikos@kernel.org> Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com> Cc: Vojtech Pavlik <vojtech@suse.cz> Cc: Michael Haboustak <mike-@cinci.rr.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
1 parent 8802d15 commit cd2bb7b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/hid/hid-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ struct hid_dynid {
21292129
};
21302130

21312131
/**
2132-
* store_new_id - add a new HID device ID to this driver and re-probe devices
2132+
* new_id_store - add a new HID device ID to this driver and re-probe devices
21332133
* @drv: target device driver
21342134
* @buf: buffer for scanning device ID data
21352135
* @count: input size

0 commit comments

Comments
 (0)