gpu: nvgpu: Include linux/platform/tegra/common.h only in downstream

linux/platform/tegra/common.h is a Tegra downstream kernel specific
header file. #include it only if downstream fuse or VPR support exists.

Bug 3030537

Change-Id: Ia6b9bc94aca64afdb7d4d44f8a49befc2a3de4e0
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2371380
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Terje Bergstrom
2020-07-06 12:36:26 -07:00
committed by Alex Waterman
parent 041bedaee9
commit 3531866677
2 changed files with 4 additions and 0 deletions

View File

@@ -26,7 +26,9 @@
#include <linux/reset.h>
#include <linux/reboot.h>
#include <linux/notifier.h>
#ifdef CONFIG_NVGPU_VPR
#include <linux/platform/tegra/common.h>
#endif
#include <linux/pci.h>
#include <linux/of_gpio.h>