diff --git a/drivers/gpu/nvgpu/common/cbc/contig_pool.c b/drivers/gpu/nvgpu/common/cbc/contig_pool.c index 572902955..139224572 100644 --- a/drivers/gpu/nvgpu/common/cbc/contig_pool.c +++ b/drivers/gpu/nvgpu/common/cbc/contig_pool.c @@ -24,7 +24,7 @@ #ifdef __KERNEL__ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) #include #else #include diff --git a/drivers/gpu/nvgpu/os/linux/nvgpu_ivm.c b/drivers/gpu/nvgpu/os/linux/nvgpu_ivm.c index 026669a7f..1de72294d 100644 --- a/drivers/gpu/nvgpu/os/linux/nvgpu_ivm.c +++ b/drivers/gpu/nvgpu/os/linux/nvgpu_ivm.c @@ -15,7 +15,7 @@ */ #include -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) #include #else #include diff --git a/drivers/gpu/nvgpu/os/linux/soc.c b/drivers/gpu/nvgpu/os/linux/soc.c index 75d4bc354..294f01fd0 100644 --- a/drivers/gpu/nvgpu/os/linux/soc.c +++ b/drivers/gpu/nvgpu/os/linux/soc.c @@ -15,7 +15,7 @@ #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0) #include #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) #include #else #include @@ -50,7 +50,7 @@ bool nvgpu_is_hypervisor_mode(struct gk20a *g) bool nvgpu_is_soc_t194_a01(struct gk20a *g) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 15, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 14, 0) struct device *dev = dev_from_gk20a(g); struct gk20a_platform *platform = gk20a_get_platform(dev);