usb: gadget: aspeed-vhub: constify usb_gadget_ops structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 30 Oct 2018 16:19:59 +0000 (17:19 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 26 Nov 2018 07:06:31 +0000 (09:06 +0200)
commit1808bd2132d1a53a401459474213bdcdbc94d215
tree422d4a0417d0e8eba6dc358f6008f8e52be77da0
parent022a0208c0ff038f8970a71cb298f85722b4a0ef
usb: gadget: aspeed-vhub: constify usb_gadget_ops structure

The usb_gadget_ops structure can be const as it is only stored in
the ops field of a usb_gadget structure and this field is const.

Done with the help of Coccinelle.

Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/aspeed-vhub/dev.c