OSDN Git Service

usb: gadget: udc: renesas_usb3: make usb_ep_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Sat, 12 Aug 2017 12:04:54 +0000 (17:34 +0530)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 15 Aug 2017 11:18:53 +0000 (14:18 +0300)
commit64b59f11dd52071a800090ca14212b5c22aaa683
tree529ad74e3ab7b6dd9ecc307d088292b18296f956
parent7fc461378cad592e8e606cce2b05b917982539fc
usb: gadget: udc: renesas_usb3: 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/gadget/udc/renesas_usb3.c