diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gk20a.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 7fa17988..c27b6865 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c | |||
@@ -43,6 +43,7 @@ | |||
43 | #include <linux/reset.h> | 43 | #include <linux/reset.h> |
44 | 44 | ||
45 | #include <linux/sched.h> | 45 | #include <linux/sched.h> |
46 | #include <linux/version.h> | ||
46 | 47 | ||
47 | #include "gk20a.h" | 48 | #include "gk20a.h" |
48 | #include "debug_gk20a.h" | 49 | #include "debug_gk20a.h" |
@@ -1667,7 +1668,9 @@ static struct platform_driver gk20a_driver = { | |||
1667 | .driver = { | 1668 | .driver = { |
1668 | .owner = THIS_MODULE, | 1669 | .owner = THIS_MODULE, |
1669 | .name = "gk20a", | 1670 | .name = "gk20a", |
1671 | #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0) | ||
1670 | .probe_type = PROBE_PREFER_ASYNCHRONOUS, | 1672 | .probe_type = PROBE_PREFER_ASYNCHRONOUS, |
1673 | #endif | ||
1671 | #ifdef CONFIG_OF | 1674 | #ifdef CONFIG_OF |
1672 | .of_match_table = tegra_gk20a_of_match, | 1675 | .of_match_table = tegra_gk20a_of_match, |
1673 | #endif | 1676 | #endif |