Re: [PATCH 2/5] [media] atomisp: constify videobuf_queue_ops structures
From: Sakari Ailus
Date: Tue Aug 08 2017 - 06:53:46 EST
On Fri, Aug 04, 2017 at 02:09:45PM +0200, Julia Lawall wrote:
> These videobuf_queue_ops structures are only passed as the second
> argument to videobuf_queue_vmalloc_init, which is declared as const.
> Thus the videobuf_queue_ops structures themselves can be const.
>
> Done with the help of Coccinelle.
Thanks. I'm picking this one up (for atomisp).
--
Sakari Ailus
e-mail: sakari.ailus@xxxxxx XMPP: sailus@xxxxxxxxxxxxxx