usb: dwc2: gadget: make usb_ep_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 12 Aug 2017 12:04:55 +0000 (17:34 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 11:18:54 +0000 (14:18 +0300)
commitebce561a0d140aab63ceb7703aeb6ae7627fd320
tree650b5051147f2eb660cd39ba39aeb8684f725542
parent64b59f11dd52071a800090ca14212b5c22aaa683
usb: dwc2: gadget: make usb_ep_ops const

Make the structure const as it is only stored in the ops field of a
usb_ep structure, which is of type const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c