mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
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:
committed by
Bharat Nihalani
parent
874e3d98d6
commit
b14b2e3400
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user