]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/amdgpu: Fix no-procfs build
authorRob Clark <robdclark@chromium.org>
Thu, 25 May 2023 15:52:24 +0000 (08:52 -0700)
committerNeil Armstrong <neil.armstrong@linaro.org>
Fri, 26 May 2023 07:13:04 +0000 (09:13 +0200)
commit1a56fcf08ae463a4564d111356091b2bdb6c7bce
treec387f8caa7075cd5c7a5654921b47cecfa4ec157
parentdd9e329af7236e34c566d3705ea32a63069b9b13
drm/amdgpu: Fix no-procfs build

Fixes undefined symbol when PROC_FS is not enabled.

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202305251510.U0R2as7k-lkp@intel.com/
Fixes: 376c25f8ca47 ("drm/amdgpu: Switch to fdinfo helper")
Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: <alexander.deucher@amd.com>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230525155227.560094-1-robdclark@gmail.com
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c