Messages in this thread | | | From | Robert Jarzmik <> | Subject | Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures | Date | Thu, 26 Jan 2017 10:15:04 +0100 |
| |
Bhumika Goyal <bhumirks@gmail.com> writes:
> Declare usb_ep_ops structures as const as they are only stored in the > ops field of an usb_ep structure. This field is of type const, so > usb_ep_ops structures having this property can be made const too. > Done using Coccinelle( A smaller version of the script)
For pxa27x_udc.c : Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Cheers.
-- Robert
| |