mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
In Linux v6.9 the data argument of the function pointer passed to gpio_device_find() was updated to be a const type. This breaks building the CDI and ISC drivers for Linux v6.9. Update the test in conftest that detects the presence of the gpio_device_find() function to perform a second test to see if the argument for the function pointer is a const type. Update the drivers that use the gpio_device_find() function accordingly to fix the build. Bug 4471899 Change-Id: I562451a401bcaebcf0acf9a7d563cb0ea1d87807 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3104559 Reviewed-by: svc-sw-mobile-l4t <svc-sw-mobile-l4t@nvidia.com> Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>