usbip: vhci-hcd: make vhci_hc_driver const

Make this const as it is not modified anywhere.

Signed-off-by: Bhumika Goyal <[email protected]>
Acked-by: Shuah Khan <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
Bhumika Goyal 2017-08-30 18:22:23 +05:30 • committed by Greg Kroah-Hartman
commit 3a16191399

View file

@ -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),