diff options
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp.h')
-rw-r--r-- | drivers/gpu/nvgpu/boardobj/boardobjgrp.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h index c7840e02..14d7c1bb 100644 --- a/drivers/gpu/nvgpu/boardobj/boardobjgrp.h +++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp.h | |||
@@ -153,7 +153,8 @@ typedef u32 boardobjgrp_pmucmd_construct(struct gk20a *g, | |||
153 | /* | 153 | /* |
154 | * Destroys BOARDOBJGRP PMU SW state. CMD. | 154 | * Destroys BOARDOBJGRP PMU SW state. CMD. |
155 | */ | 155 | */ |
156 | typedef u32 boardobjgrp_pmucmd_destroy(struct boardobjgrp_pmu_cmd *cmd); | 156 | typedef u32 boardobjgrp_pmucmd_destroy(struct gk20a *g, |
157 | struct boardobjgrp_pmu_cmd *cmd); | ||
157 | 158 | ||
158 | /* | 159 | /* |
159 | * init handler for the BOARDOBJGRP PMU CMD. Allocates and maps the | 160 | * init handler for the BOARDOBJGRP PMU CMD. Allocates and maps the |
@@ -171,6 +172,7 @@ typedef u32 boardobjgrp_pmucmd_pmuinithandle(struct gk20a *g, | |||
171 | * device group or device-type. | 172 | * device group or device-type. |
172 | */ | 173 | */ |
173 | struct boardobjgrp { | 174 | struct boardobjgrp { |
175 | struct gk20a *g; | ||
174 | u32 objmask; | 176 | u32 objmask; |
175 | bool bconstructed; | 177 | bool bconstructed; |
176 | u8 type; | 178 | u8 type; |
@@ -336,7 +338,7 @@ do { \ | |||
336 | 338 | ||
337 | /* ------------------------ Function Prototypes ----------------------------- */ | 339 | /* ------------------------ Function Prototypes ----------------------------- */ |
338 | /* Constructor and destructor */ | 340 | /* Constructor and destructor */ |
339 | u32 boardobjgrp_construct_super(struct boardobjgrp *pboardobjgrp); | 341 | u32 boardobjgrp_construct_super(struct gk20a *g, struct boardobjgrp *pboardobjgrp); |
340 | boardobjgrp_destruct boardobjgrp_destruct_impl; | 342 | boardobjgrp_destruct boardobjgrp_destruct_impl; |
341 | boardobjgrp_destruct boardobjgrp_destruct_super; | 343 | boardobjgrp_destruct boardobjgrp_destruct_super; |
342 | 344 | ||