diff options
Diffstat (limited to 'drivers/gpu/nvgpu/vgpu/ltc_vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c index 0a7d19c4..ddff23b7 100644 --- a/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/ltc_vgpu.c | |||
@@ -48,12 +48,8 @@ static int vgpu_ltc_init_comptags(struct gk20a *g, struct gr_gk20a *gr) | |||
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
50 | 50 | ||
51 | static const struct gpu_ltc_ops vgpu_ltc_ops = { | ||
52 | .determine_L2_size_bytes = vgpu_determine_L2_size_bytes, | ||
53 | .init_comptags = vgpu_ltc_init_comptags, | ||
54 | }; | ||
55 | |||
56 | void vgpu_init_ltc_ops(struct gpu_ops *gops) | 51 | void vgpu_init_ltc_ops(struct gpu_ops *gops) |
57 | { | 52 | { |
58 | gops->ltc = &vgpu_ltc_ops; | 53 | gops->ltc.determine_L2_size_bytes = vgpu_determine_L2_size_bytes; |
54 | gops->ltc.init_comptags = vgpu_ltc_init_comptags; | ||
59 | } | 55 | } |