mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
A test has already been added to the conftest script for checking if the class_create() function has a module pointer argument or not. So use the definition generated by conftest to select which version of the function to use. Bug 4221847 Bug 4276500 Change-Id: If4b4445b2dfb2ec6556ca8c4ef9931e6b8833357 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3015846 (cherry picked from commit cf745fa6d89a277dc8fb72454b9a7d26454e8b8d) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3017318 Reviewed-by: Sagar Kamble <skamble@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>