diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/nvlink_gv100.c')
-rw-r--r-- | drivers/gpu/nvgpu/gv100/nvlink_gv100.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c index 776d1d66..9d99242f 100644 --- a/drivers/gpu/nvgpu/gv100/nvlink_gv100.c +++ b/drivers/gpu/nvgpu/gv100/nvlink_gv100.c | |||
@@ -20,6 +20,8 @@ | |||
20 | * DEALINGS IN THE SOFTWARE. | 20 | * DEALINGS IN THE SOFTWARE. |
21 | */ | 21 | */ |
22 | 22 | ||
23 | #ifdef CONFIG_TEGRA_NVLINK | ||
24 | |||
23 | #include <nvgpu/nvgpu_common.h> | 25 | #include <nvgpu/nvgpu_common.h> |
24 | #include <nvgpu/bios.h> | 26 | #include <nvgpu/bios.h> |
25 | #include <nvgpu/firmware.h> | 27 | #include <nvgpu/firmware.h> |
@@ -2677,3 +2679,4 @@ nvlink_init_exit: | |||
2677 | return err; | 2679 | return err; |
2678 | } | 2680 | } |
2679 | 2681 | ||
2682 | #endif /* CONFIG_TEGRA_NVLINK */ | ||