summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/module.c
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-08-22 11:31:32 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-08-22 15:44:41 -0400
commitbc87e8989ddf2f74ff2c988a25e4a81e559a5c30 (patch)
treeb8c45cecf50e3e3bb8967952de9f5047de60683f /drivers/gpu/nvgpu/common/linux/module.c
parent587666bd6cbb60e52698052c2b5c4a74f2165ecd (diff)
gpu: nvgpu: Remove support for old kernel version
Remove support for pre-4.4 kernels. This allows deleting the checks for kernel version, and usage of linux/version.h. Change-Id: I4d6cb30512ea164d27549f4f4d096e5931bb1379 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1543499 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/module.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/module.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c
index f5c6ca1f..691fdd69 100644
--- a/drivers/gpu/nvgpu/common/linux/module.c
+++ b/drivers/gpu/nvgpu/common/linux/module.c
@@ -1025,9 +1025,7 @@ static struct platform_driver gk20a_driver = {
1025 .driver = { 1025 .driver = {
1026 .owner = THIS_MODULE, 1026 .owner = THIS_MODULE,
1027 .name = "gk20a", 1027 .name = "gk20a",
1028#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0)
1029 .probe_type = PROBE_PREFER_ASYNCHRONOUS, 1028 .probe_type = PROBE_PREFER_ASYNCHRONOUS,
1030#endif
1031#ifdef CONFIG_OF 1029#ifdef CONFIG_OF
1032 .of_match_table = tegra_gk20a_of_match, 1030 .of_match_table = tegra_gk20a_of_match,
1033#endif 1031#endif