Skip to content
Commit 5033ac5c authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

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: default avatarJohan Hovold <johan@kernel.org>
Acked-by: default avatarPete Zaitcev <zaitcev@redhat.com>
Reviewed-by: default avatarJiri Kosina <jkosina@suse.cz>
Link: https://lore.kernel.org/r/20221001165128.2688526-1-gregkh@linuxfoundation.org


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 593efa40
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment