mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
video: tegra: nvmap: Make function static.
Fix for: Sparse defects Sparse stated that: -symbol 'tegra_vpr1_dev' was not declared. Should it be static? -symbol 'tegra_vpr_cma_dev' was not declared. Should it be static? -symbol 'tegra_generic_cma_dev' was not declared. Should it be static? -symbol 'tegra_vpr_dev' was not declared. Should it be static? -symbol 'tegra_generic_dev' was not declared. Should it be static? Making all the above functions static since it is being used in nvmap_init.c only. Bug 4513982 Change-Id: I4887d994d9ae852a4faa7da735c18d25b393187a Signed-off-by: Surbhi Singh <surbhis@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3295831 Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com> GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* SPDX-License-Identifier: GPL-2.0-only */
|
||||
/*
|
||||
* Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
* Copyright (c) 2024-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
*/
|
||||
|
||||
#ifndef __MACH_TEGRA_COMMON_H
|
||||
@@ -23,10 +23,8 @@ extern phys_addr_t tegra_avp_kernel_start;
|
||||
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 int tegra_with_secure_firmware;
|
||||
|
||||
extern struct device tegra_generic_dev;
|
||||
|
||||
u32 tegra_get_bct_strapping(void);
|
||||
u32 tegra_get_fuse_opt_subrevision(void);
|
||||
|
||||
Reference in New Issue
Block a user