summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
diff options
context:
space:
mode:
authorShreshtha SAHU <ssahu@nvidia.com>2016-07-13 06:24:26 -0400
committerBharat Nihalani <bnihalani@nvidia.com>2016-07-17 07:25:59 -0400
commitb14b2e34009dfa98116f9e37a572b506fc59f06a (patch)
treea1ab7f2b11f1dbb6d34a0191625d333013b8645b /drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
parent874e3d98d64f987e6ce9ba30b86a73d5674d6c71 (diff)
gpu: nvgpu: gk20a: Add fuse.h header
Add "soc/tegra/fuse.h" to include declaration of tegra_get_chip_id() for kernel version 4.4 and higher as upstream fuse header is not available in older kernel versions. Change-Id: Ib83fc6965bc46bb729eab1cc583b9c963f501738 Signed-off-by: Shreshtha SAHU <ssahu@nvidia.com> Reviewed-on: http://git-master/r/1180686 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
index cea82805..2ed6df43 100644
--- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
+++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c
@@ -13,6 +13,7 @@
13 * more details. 13 * more details.
14 */ 14 */
15 15
16#include <linux/version.h>
16#include <linux/of_platform.h> 17#include <linux/of_platform.h>
17#include <linux/nvhost.h> 18#include <linux/nvhost.h>
18#include <linux/debugfs.h> 19#include <linux/debugfs.h>
@@ -28,6 +29,9 @@
28#include <linux/platform/tegra/common.h> 29#include <linux/platform/tegra/common.h>
29#include <linux/platform/tegra/mc.h> 30#include <linux/platform/tegra/mc.h>
30#include <linux/clk/tegra.h> 31#include <linux/clk/tegra.h>
32#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
33#include <soc/tegra/fuse.h>
34#endif
31 35
32#include <linux/platform/tegra/tegra_emc.h> 36#include <linux/platform/tegra/tegra_emc.h>
33 37