1 diff -ruN nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.c nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.c
2 --- nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.c 2020-07-09 17:06:05.000000000 +0000
3 +++ nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.c 2020-08-18 12:43:03.223871514 +0000
5 return mknod_helper(major, minor_num, vgpu_dev_name, NV_PROC_REGISTRY_PATH);
8 -static int nvidia_cap_get_device_file_attrs(const char* cap_file_path,
12 +int nvidia_cap_get_device_file_attrs(const char* cap_file_path,
19 diff -ruN nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.h nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.h
20 --- nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.h 2020-07-09 17:06:05.000000000 +0000
21 +++ nvidia-modprobe-@modprobeVersion@/modprobe-utils/nvidia-modprobe-utils.h 2020-08-18 12:43:44.227745050 +0000
23 int nvidia_nvswitch_get_file_state(int minor);
24 int nvidia_cap_mknod(const char* cap_file_path, int *minor);
25 int nvidia_cap_get_file_state(const char* cap_file_path);
26 +int nvidia_cap_get_device_file_attrs(const char* cap_file_path, int *major, int *minor, char *name);
27 int nvidia_get_chardev_major(const char *name);