usb: gadget: tegra-xudc: Constify static structs
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Thu, 13 May 2021 20:09:08 +0000 (22:09 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 May 2021 12:05:21 +0000 (14:05 +0200)
commit53ad92fdf7c34c3b44566553077176a767612454
tree77123c87ec2364d4c7b7d9e8fafc014f3c233155
parent005775859a3dc4ed3854be5e883ec0716d492135
usb: gadget: tegra-xudc: Constify static structs

Constify a couple of ops-structs that are never modified, to let the
compiler put them 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/20210513200908.448351-1-rikard.falkeborn@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/udc/tegra-xudc.c