summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/hal_gp106.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/gp106/hal_gp106.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/gp106/hal_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/hal_gp106.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gp106/hal_gp106.c b/drivers/gpu/nvgpu/gp106/hal_gp106.c
index 9afcdb69..cdac76b7 100644
--- a/drivers/gpu/nvgpu/gp106/hal_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/hal_gp106.c
@@ -98,8 +98,7 @@ static struct gpu_ops gp106_ops = {
98 } 98 }
99}; 99};
100 100
101static int gp106_get_litter_value(struct gk20a *g, 101static int gp106_get_litter_value(struct gk20a *g, int value)
102 enum nvgpu_litter_value value)
103{ 102{
104 int ret = -EINVAL; 103 int ret = -EINVAL;
105 104