summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-30 18:22:23 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-31 18:08:47 +0200
commit3a161913990e9052bf0ce32443871a95cd88f3fd (patch)
tree39c4bafb81aa65ac9dc8bfdcacefa890e8545a57 /drivers/usb
parenteb3c74de28b24f5a36d12d6c84f1fceb25d12c4f (diff)
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/usbip/vhci_hcd.c2
1 files changed, 1 insertions, 1 deletions
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),