video: tegra: nvmap: Make function static.

Fix for: Sparse defects

Sparse stated that:

-symbol 'nvmap_of_ids' was not declared. Should it be static?

Making nvmap_of_ids static as it is only used in nvmap_init.c

Bug 4513982

Change-Id: Id767ef7796e978c0cc4fee83068b795aeb85d753
Signed-off-by: Surbhi Singh <surbhis@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3296795
GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: N V S Abhishek <nabhishek@nvidia.com>
This commit is contained in:
Surbhi Singh
2025-02-05 10:09:43 +00:00
committed by Jon Hunter
parent 4ea9ca5d30
commit ab4ebfc4f7

View File

@@ -42,7 +42,7 @@ static struct device tegra_vpr_cma_dev;
static struct platform_device *pdev; static struct platform_device *pdev;
extern ulong nvmap_init_time; extern ulong nvmap_init_time;
const struct of_device_id nvmap_of_ids[] = { static const struct of_device_id nvmap_of_ids[] = {
{ .compatible = "nvidia,carveouts" }, { .compatible = "nvidia,carveouts" },
{ .compatible = "nvidia,carveouts-t18x" }, { .compatible = "nvidia,carveouts-t18x" },
{ .compatible = "nvidia,carveouts-t19x" }, { .compatible = "nvidia,carveouts-t19x" },