Thread (1 message) 1 message, 1 author, 2017-01-26

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

From: Robert Jarzmik <robert.jarzmik@free.fr>
Date: 2017-01-26 09:15:25
Also in: linux-arm-kernel, lkml

Bhumika Goyal [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help