Re: [PATCH] media: i2c: rdacm20: Constify static structs

2020-11-20 Thread Kieran Bingham
Hi Rikard, Thank you for the fix. On 19/11/2020 22:22, Rikard Falkeborn wrote: > The only usage of rdacm20_video_ops is to assign it to the video field > in the v4l2_subdev_ops struct which is a pointer to const, and the only > usage of rdacm20_subdev_ops is to pass its address to > v4l2_i2c_sub

Re: [PATCH] media: i2c: rdacm20: Constify static structs

2020-11-20 Thread Jacopo Mondi
Hi Rikard, On Thu, Nov 19, 2020 at 11:22:48PM +0100, Rikard Falkeborn wrote: > The only usage of rdacm20_video_ops is to assign it to the video field > in the v4l2_subdev_ops struct which is a pointer to const, and the only > usage of rdacm20_subdev_ops is to pass its address to > v4l2_i2c_subdev