From 1cde817120fe82cbb0b6cfc03e0c952bff8cf669 Mon Sep 17 00:00:00 2001 From: Seshendra Gadagottu Date: Mon, 23 Nov 2015 11:19:00 -0800 Subject: gpu: nvgpu: t18x: make gp10b_freq_table static Make gp10b_freq_table static to fix sparse warning Bug 200088648 Change-Id: Ibaaabd145e37685e049ac3a49e2b276fb6545d0e Signed-off-by: Seshendra Gadagottu Reviewed-on: http://git-master/r/837421 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c index 48665ddb..6abb70c3 100644 --- a/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/gp10b/platform_gp10b_tegra.c @@ -31,7 +31,7 @@ #include "platform_tegra.h" #define GP10B_MAX_SUPPORTED_FREQS 11 -unsigned long gp10b_freq_table[GP10B_MAX_SUPPORTED_FREQS]; +static unsigned long gp10b_freq_table[GP10B_MAX_SUPPORTED_FREQS]; static struct { char *name; -- cgit v1.2.2