mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
When adding conftest tests for detecting if specific functions are present, it is always better to check if the newly added function is present versus the function that has been removed. The reason being that is the newly added function is modified in the future then the conftest tests can be extended to check for updates to the function. Therefore, instead of checking if the function gpiochip_find() is present, which was removed in Linux v6.7, check if the function gpio_device_find() is present, which replaced gpiochip_find in Linux v6.7. Bug 4346767 Bug 4471899 Change-Id: I32bf1c3da32abbf3c8d3ef9ea350decf1564e0bc Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3108643 Reviewed-by: Paritosh Dixit <paritoshd@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>