diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/sync_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c index 9f6f4217..46d0addf 100644 --- a/drivers/gpu/nvgpu/gk20a/sync_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/sync_gk20a.c | |||
@@ -98,13 +98,13 @@ static int __gk20a_sync_pt_compare_ref( | |||
98 | return 0; | 98 | return 0; |
99 | } | 99 | } |
100 | 100 | ||
101 | struct gk20a_sync_pt *to_gk20a_sync_pt(struct sync_pt *pt) | 101 | static struct gk20a_sync_pt *to_gk20a_sync_pt(struct sync_pt *pt) |
102 | { | 102 | { |
103 | struct gk20a_sync_pt_inst *pti = | 103 | struct gk20a_sync_pt_inst *pti = |
104 | container_of(pt, struct gk20a_sync_pt_inst, pt); | 104 | container_of(pt, struct gk20a_sync_pt_inst, pt); |
105 | return pti->shared; | 105 | return pti->shared; |
106 | } | 106 | } |
107 | struct gk20a_sync_timeline *to_gk20a_timeline(struct sync_timeline *obj) | 107 | static struct gk20a_sync_timeline *to_gk20a_timeline(struct sync_timeline *obj) |
108 | { | 108 | { |
109 | if (WARN_ON(obj->ops != &gk20a_sync_timeline_ops)) | 109 | if (WARN_ON(obj->ops != &gk20a_sync_timeline_ops)) |
110 | return NULL; | 110 | return NULL; |