Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures
From: Robert Jarzmik
Date: Thu Jan 26 2017 - 04:15:29 EST
Bhumika Goyal <bhumirks@xxxxxxxxx> 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@xxxxxxx>
Cheers.
--
Robert