projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eb3c74d
)
usbip: vhci-hcd: make vhci_hc_driver const
author
Bhumika Goyal
<bhumirks@gmail.com>
Wed, 30 Aug 2017 12:52:23 +0000
(18:22 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:08:47 +0000
(18:08 +0200)
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>
drivers/usb/usbip/vhci_hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/usbip/vhci_hcd.c
b/drivers/usb/usbip/vhci_hcd.c
index c747623990dadbd75630bdb41601e7c940815e25..11b9a22799ccb3a9a871225aefc70174a6853e68 100644
(file)
--- 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),