summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorAmit Sharma <amisharma@nvidia.com>2016-03-01 23:30:44 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:52:11 -0500
commit63d463c1ac1aa618111cbaee5c90ae69698816b6 (patch)
tree4d5573c98c91fe81599058ffe28360940a26e0cf /drivers
parent9a2ecd3efbc68d19604e33a348acf8c7e18fe904 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
index 43d90528..dfeba9c4 100644
--- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
+++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c
@@ -362,7 +362,7 @@ struct gk20a_platform t18x_gpu_tegra_platform = {
362#define ECC_STAT_NAME_MAX_SIZE 100 362#define ECC_STAT_NAME_MAX_SIZE 100
363 363
364 364
365DEFINE_HASHTABLE(ecc_hash_table, 5); 365static DEFINE_HASHTABLE(ecc_hash_table, 5);
366 366
367static struct device_attribute *dev_attr_sm_lrf_ecc_single_err_count_array; 367static struct device_attribute *dev_attr_sm_lrf_ecc_single_err_count_array;
368static struct device_attribute *dev_attr_sm_lrf_ecc_double_err_count_array; 368static struct device_attribute *dev_attr_sm_lrf_ecc_double_err_count_array;