Re: [PATCH] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures

2016-12-12 Thread Laurent Pinchart
Hi Bhumika, Thank you for the patch. On Sunday 11 Dec 2016 15:22:32 Bhumika Goyal wrote: > v4l2_subdev_{core/pad/video}_ops structures are stored in the > fields of the v4l2_subdev_ops structure which are of type const. > Also, v4l2_subdev_ops structure is passed to a function > having its

[PATCH] media: platform: xilinx: xilinx-tpg: constify v4l2_subdev_* structures

2016-12-11 Thread Bhumika Goyal
v4l2_subdev_{core/pad/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using