Jon Hunter 324152c5e9 gpu: nvgpu: Use conftest test for class_create
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
(cherry picked from commit 41e6fae71e)
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/3017439
Reviewed-by: Amulya Yarlagadda <ayarlagadda@nvidia.com>
2023-11-16 10:30:09 -08:00
Description
No description provided
42 MiB