summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
diff options
context:
space:
mode:
authorseshendra Gadagottu <sgadagottu@nvidia.com>2016-11-11 20:03:25 -0500
committerDeepak Nibade <dnibade@nvidia.com>2016-12-27 04:56:51 -0500
commit90fbd43cbeb1439dd633f28f9a28b0f4e1cba1a3 (patch)
tree11f39c2787a254448a2b1f75950e5850a1b4c53b /drivers/gpu/nvgpu/gp10b/hal_gp10b.c
parentd8da1d64381bb1265e194d81cb02673efa6ca54c (diff)
gpu: nvgpu: gp10x: updated API for get_litter_value
get_litter_value API is updated to use int instead of enum type. JIRA GV11B-21 Change-Id: I982fdfe372f4be38aa4ed026a23e936d73190e79 Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/1252212 GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp10b/hal_gp10b.c')
-rw-r--r--drivers/gpu/nvgpu/gp10b/hal_gp10b.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
index f0137a70..e9385db0 100644
--- a/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
+++ b/drivers/gpu/nvgpu/gp10b/hal_gp10b.c
@@ -105,8 +105,7 @@ static struct gpu_ops gp10b_ops = {
105 } 105 }
106}; 106};
107 107
108static int gp10b_get_litter_value(struct gk20a *g, 108static int gp10b_get_litter_value(struct gk20a *g, int value)
109 enum nvgpu_litter_value value)
110{ 109{
111 int ret = EINVAL; 110 int ret = EINVAL;
112 switch (value) { 111 switch (value) {