diff options
Diffstat (limited to 'drivers/gpu/nvgpu/therm')
-rw-r--r-- | drivers/gpu/nvgpu/therm/thrmchannel.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/therm/thrmdev.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmchannel.c b/drivers/gpu/nvgpu/therm/thrmchannel.c index dd2f7cb3..f8be8430 100644 --- a/drivers/gpu/nvgpu/therm/thrmchannel.c +++ b/drivers/gpu/nvgpu/therm/thrmchannel.c | |||
@@ -217,7 +217,8 @@ u32 therm_channel_sw_setup(struct gk20a *g) | |||
217 | struct therm_channels *pthermchannelobjs; | 217 | struct therm_channels *pthermchannelobjs; |
218 | 218 | ||
219 | /* Construct the Super Class and override the Interfaces */ | 219 | /* Construct the Super Class and override the Interfaces */ |
220 | status = boardobjgrpconstruct_e32(&g->therm_pmu.therm_channelobjs.super); | 220 | status = boardobjgrpconstruct_e32(g, |
221 | &g->therm_pmu.therm_channelobjs.super); | ||
221 | if (status) { | 222 | if (status) { |
222 | nvgpu_err(g, | 223 | nvgpu_err(g, |
223 | "error creating boardobjgrp for therm devices, status - 0x%x", | 224 | "error creating boardobjgrp for therm devices, status - 0x%x", |
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.c b/drivers/gpu/nvgpu/therm/thrmdev.c index 5c416e50..1aff119c 100644 --- a/drivers/gpu/nvgpu/therm/thrmdev.c +++ b/drivers/gpu/nvgpu/therm/thrmdev.c | |||
@@ -164,7 +164,8 @@ u32 therm_device_sw_setup(struct gk20a *g) | |||
164 | struct therm_devices *pthermdeviceobjs; | 164 | struct therm_devices *pthermdeviceobjs; |
165 | 165 | ||
166 | /* Construct the Super Class and override the Interfaces */ | 166 | /* Construct the Super Class and override the Interfaces */ |
167 | status = boardobjgrpconstruct_e32(&g->therm_pmu.therm_deviceobjs.super); | 167 | status = boardobjgrpconstruct_e32(g, |
168 | &g->therm_pmu.therm_deviceobjs.super); | ||
168 | if (status) { | 169 | if (status) { |
169 | nvgpu_err(g, | 170 | nvgpu_err(g, |
170 | "error creating boardobjgrp for therm devices, status - 0x%x", | 171 | "error creating boardobjgrp for therm devices, status - 0x%x", |