mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
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:
@@ -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" },
|
||||||
|
|||||||
Reference in New Issue
Block a user