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>
This commit is contained in:
Shreshtha SAHU
2016-07-13 15:54:26 +05:30
committed by Bharat Nihalani
parent 874e3d98d6
commit b14b2e3400

View File

@@ -13,6 +13,7 @@
* more details.
*/
#include <linux/version.h>
#include <linux/of_platform.h>
#include <linux/nvhost.h>
#include <linux/debugfs.h>
@@ -28,6 +29,9 @@
#include <linux/platform/tegra/common.h>
#include <linux/platform/tegra/mc.h>
#include <linux/clk/tegra.h>
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0))
#include <soc/tegra/fuse.h>
#endif
#include <linux/platform/tegra/tegra_emc.h>