From 42ff9ca4d415f4b50f8f457227d474ecca7ba038 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Mon, 6 Jul 2020 13:20:58 -0700 Subject: [PATCH] gpu: nvgpu: Include tegra_emc.h only if bwmgr is present tegra-emc.h is needed only for EMC DVFS, and only when bandwidth manager is present in kernel. Move #include directive for tegra-emc.h to inside #ifdef CONFIG_TEGRA_BWMGR. Bug 3030537 Change-Id: Ib812219eff6bab4c3add4f9d8583abe43957c997 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2371388 Tested-by: mobile promotions Reviewed-by: mobile promotions --- drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c index a05412229..b58ae4c8a 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_gk20a_tegra.c @@ -38,9 +38,9 @@ #ifdef CONFIG_TEGRA_BWMGR #include +#include #endif -#include #ifdef CONFIG_NVGPU_TEGRA_FUSE #include #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0)