OpenCloudOS-Kernel/drivers/hid/usbhid
Greg Kroah-Hartman 5033ac5c58 USB: make devnode() callback in usb_class_driver take a const *
With the changes to the driver core to make more pointers const, the USB
subsystem also needs to be modified to take a const * for the devnode
callback so that the driver core's constant pointer will also be
properly propagated.

Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: Juergen Stuber <starblue@users.sourceforge.net>
Reviewed-by: Johan Hovold <johan@kernel.org>
Acked-by: Pete Zaitcev <zaitcev@redhat.com>
Reviewed-by: Jiri Kosina <jkosina@suse.cz>
Link: https://lore.kernel.org/r/20221001165128.2688526-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-20 12:11:56 +02:00
..
Kconfig HID: Kconfig: Fix spelling mistake "Uninterruptable" -> "Uninterruptible" 2021-07-28 11:41:57 +02:00
Makefile HID: core: move the dynamic quirks handling in core 2017-11-21 11:14:48 +01:00
hid-core.c HID: move from strlcpy with unused retval to strscpy 2022-08-25 11:44:27 +02:00
hid-pidff.c HID: pidff: fix error return code in hid_pidff_init() 2021-05-27 15:40:34 +02:00
hiddev.c USB: make devnode() callback in usb_class_driver take a const * 2022-10-20 12:11:56 +02:00
usbhid.h Revert "HID: usbhid: do not sleep when opening device" 2020-08-18 19:54:04 +02:00
usbkbd.c HID: move from strlcpy with unused retval to strscpy 2022-08-25 11:44:27 +02:00
usbmouse.c HID: move from strlcpy with unused retval to strscpy 2022-08-25 11:44:27 +02:00