video: tegra: nvmap: Clean-up tegra_vpr_dev

tegra_vpr_dev is defined at multiple places as extern variable.
Keep it only in nvmap_exports.h as extern and define it in nvmap_init.c.

Bug 4390638

Change-Id: I48f2b44c0f935366ce6319460da7b417918fea2d
Signed-off-by: Ashish Mhetre <amhetre@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3119454
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
Ashish Mhetre
2024-04-19 04:44:32 +00:00
committed by mobile promotions
parent b60fded6ad
commit ac5bcc86bd
4 changed files with 2 additions and 5 deletions

View File

@@ -24,11 +24,9 @@ extern phys_addr_t tegra_avp_kernel_size;
void ahb_gizmo_writel(unsigned long val, void __iomem *reg);
extern struct device tegra_generic_cma_dev;
extern struct device tegra_vpr_cma_dev;
extern int tegra_with_secure_firmware;
extern struct device tegra_generic_dev;
extern struct device tegra_vpr_dev;
u32 tegra_get_bct_strapping(void);
u32 tegra_get_fuse_opt_subrevision(void);