mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
gpu: nvgpu: gp10b: make local symbol static
Fixed the following sparse warning by making local symbol static:
- platform_gp10b_tegra.c:365: warning: symbol 'ecc_hash_table' was not declared.
Should it be static?
Bug 200088648
Change-Id: Iea1a682c3ee0609730366d44fab91849cd59c9ad
Signed-off-by: Amit Sharma <amisharma@nvidia.com>
Reviewed-on: http://git-master/r/1022410
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>
This commit is contained in:
committed by
Deepak Nibade
parent
9a2ecd3efb
commit
63d463c1ac
@@ -362,7 +362,7 @@ struct gk20a_platform t18x_gpu_tegra_platform = {
|
||||
#define ECC_STAT_NAME_MAX_SIZE 100
|
||||
|
||||
|
||||
DEFINE_HASHTABLE(ecc_hash_table, 5);
|
||||
static DEFINE_HASHTABLE(ecc_hash_table, 5);
|
||||
|
||||
static struct device_attribute *dev_attr_sm_lrf_ecc_single_err_count_array;
|
||||
static struct device_attribute *dev_attr_sm_lrf_ecc_double_err_count_array;
|
||||
|
||||
Reference in New Issue
Block a user