diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-30 14:52:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-08-31 18:08:47 +0200 |
commit | 3a161913990e9052bf0ce32443871a95cd88f3fd (patch) | |
tree | 39c4bafb81aa65ac9dc8bfdcacefa890e8545a57 /drivers/usb/usbip | |
parent | usb: phy: Avoid unchecked dereference warning (diff) | |
download | linux-3a161913990e9052bf0ce32443871a95cd88f3fd.tar.xz linux-3a161913990e9052bf0ce32443871a95cd88f3fd.zip |
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/usbip')
-rw-r--r-- | drivers/usb/usbip/vhci_hcd.c | 2 |
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), |