[PATCH] usb: gadget: udc: constify usb_ep_ops structures

Robert Jarzmik robert.jarzmik at free.fr
Thu Jan 26 01:15:04 PST 2017


Bhumika Goyal <bhumirks at 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 at free.fr>

Cheers.

-- 
Robert



More information about the linux-arm-kernel mailing list