media: v4l2-core: constify the class struct
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 18 Oct 2024 13:13:51 +0000 (15:13 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Mon, 28 Oct 2024 14:35:56 +0000 (15:35 +0100)
commit2b744cb1a5a42d2428d9c39930be5c2fb89c588f
tree1cfabb0a5cc1bb4e87d6dedbc26f6895142c6564
parent9f070b1862f3411b8bcdfd51a8eaad25286f9deb
media: v4l2-core: constify the class struct

All functions that take the class address as argument expect a const
pointer so we can make the video class constant.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/v4l2-core/v4l2-dev.c