mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
In Linux v6.10, the v4l2-subdev callbacks 'g_dv_timings' and 's_dv_timings' were moved from the v4l2_subdev_video_ops structure to the v4l2_subdev_pad_ops structure. Fix the build for Linux v6.10 by using conftest to determine which structure is used for these callbacks. Bug 4593750 Change-Id: Ic54e88da22ed7d1da9b6026a45b9c4307637c7b4 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3142215 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>