mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
The function "nvgpu_ce_debugfs_init" is declared in "debug_ce.h". This file is only compiled when CONFIG_DEBUG_FS is enabled. So any accesses to this function result in compilation errors when CONFIG_DEBUG_FS is disabled. This patch fixes the errors by guarding all accesses to the above mentioned function by CONFIG_DEBUG_FS. Bug 200755555 Change-Id: Ie566413913c4a72b10b87c3285d1263d1c811074 Signed-off-by: Sahil Mukund Patki <spatki@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2591304 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
44 KiB
44 KiB