summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/configfs.c
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-07-28 11:20:52 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-29 16:57:59 +0200
commit64cd4271ea8e6247f7ed14c443e41d0f5866aac0 (patch)
tree88b90225bf33c507a876bc41a62f26fd5253c0f2 /drivers/usb/gadget/configfs.c
parent0132bf6f395837fc77fb38ac3d2806d22426be51 (diff)
usb: gadget: pxa25x_udc: Constify static struct pxa25x_ep_ops
The struct pxa25x_ep_ops is only assigned to the ops field in the usb_ep struct, which is a pointer to const struct usb_ep_ops. Make it const to allow the compiler to put it in read-only memory. Acked-by: Felipe Balbi <balbi@kernel.org> Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Link: https://lore.kernel.org/r/20210728092052.4178-1-rikard.falkeborn@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/configfs.c')
0 files changed, 0 insertions, 0 deletions