diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c index 71081be5..2c556d8a 100644 --- a/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/common/linux/platform_gk20a_tegra.c | |||
@@ -13,7 +13,6 @@ | |||
13 | * more details. | 13 | * more details. |
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/version.h> | ||
17 | #include <linux/of_platform.h> | 16 | #include <linux/of_platform.h> |
18 | #include <linux/debugfs.h> | 17 | #include <linux/debugfs.h> |
19 | #include <linux/platform_data/tegra_edp.h> | 18 | #include <linux/platform_data/tegra_edp.h> |
@@ -822,10 +821,8 @@ static int gk20a_tegra_probe(struct device *dev) | |||
822 | dev_warn(dev, "board does not support scaling"); | 821 | dev_warn(dev, "board does not support scaling"); |
823 | } | 822 | } |
824 | platform->g->clk.gpc_pll.id = GM20B_GPC_PLL_B1; | 823 | platform->g->clk.gpc_pll.id = GM20B_GPC_PLL_B1; |
825 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) | ||
826 | if (tegra_chip_get_revision() > TEGRA210_REVISION_A04p) | 824 | if (tegra_chip_get_revision() > TEGRA210_REVISION_A04p) |
827 | platform->g->clk.gpc_pll.id = GM20B_GPC_PLL_C1; | 825 | platform->g->clk.gpc_pll.id = GM20B_GPC_PLL_C1; |
828 | #endif | ||
829 | } | 826 | } |
830 | 827 | ||
831 | if (tegra_get_chip_id() == TEGRA132) | 828 | if (tegra_get_chip_id() == TEGRA132) |
@@ -841,9 +838,7 @@ static int gk20a_tegra_probe(struct device *dev) | |||
841 | return ret; | 838 | return ret; |
842 | } | 839 | } |
843 | 840 | ||
844 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) | ||
845 | pmc = ioremap(TEGRA_PMC_BASE, 4096); | 841 | pmc = ioremap(TEGRA_PMC_BASE, 4096); |
846 | #endif | ||
847 | 842 | ||
848 | return 0; | 843 | return 0; |
849 | } | 844 | } |