[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <878tpychd3.fsf@belgarion.home>
Date: Thu, 26 Jan 2017 10:15:04 +0100
From: Robert Jarzmik <robert.jarzmik@...e.fr>
To: Bhumika Goyal <bhumirks@...il.com>
Cc: julia.lawall@...6.fr, balbi@...nel.org, gregkh@...uxfoundation.org,
leoli@...escale.com, daniel@...que.org, haojian.zhuang@...il.com,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxppc-dev@...ts.ozlabs.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures
Bhumika Goyal <bhumirks@...il.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@...e.fr>
Cheers.
--
Robert
Powered by blists - more mailing lists