mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 17:36:20 +03:00
Some recovery functions are currently exported in libnvgpu_safe.export. Once CONFIG_NVGPU_RECOVERY is permanently disabled for safety build, we can remove those functions from the export file. Until we can disable it, make sure that related functions do exist, even when CONFIG_NVGPU_RECOVERY is disabled, by using #ifdefs inside the functions, instead of redeclaring functions as static inline. Jira NVGPU-3871 Change-Id: Ib682ae81268b35cd1050a55cc73653fb6637b87c Signed-off-by: Thomas Fleury <tfleury@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2170433 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>