mirror of https://gitee.com/openkylin/linux.git
usbip: vhci-hcd: make vhci_hc_driver const
Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Acked-by: Shuah Khan <shuahkh@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
eb3c74de28
commit
3a16191399
|
@ -1274,7 +1274,7 @@ static int vhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev,
|
|||
return 0;
|
||||
}
|
||||
|
||||
static struct hc_driver vhci_hc_driver = {
|
||||
static const struct hc_driver vhci_hc_driver = {
|
||||
.description = driver_name,
|
||||
.product_desc = driver_desc,
|
||||
.hcd_priv_size = sizeof(struct vhci_hcd),
|
||||
|
|
Loading…
Reference in New Issue