From: Bhumika Goyal Date: Wed, 30 Aug 2017 12:52:23 +0000 (+0530) Subject: usbip: vhci-hcd: make vhci_hc_driver const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3a161913990e9052bf0ce32443871a95cd88f3fd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usbip: vhci-hcd: make vhci_hc_driver const Make this const as it is not modified anywhere. Signed-off-by: Bhumika Goyal Acked-by: Shuah Khan Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/usbip/vhci_hcd.c b/drivers/usb/usbip/vhci_hcd.c index c747623990da..11b9a22799cc 100644 --- a/drivers/usb/usbip/vhci_hcd.c +++ b/drivers/usb/usbip/vhci_hcd.c @@ -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),