summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm/thrmpmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/therm/thrmpmu.c')
-rw-r--r--drivers/gpu/nvgpu/therm/thrmpmu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrmpmu.c b/drivers/gpu/nvgpu/therm/thrmpmu.c
index 6a79cc3e..7814cf5e 100644
--- a/drivers/gpu/nvgpu/therm/thrmpmu.c
+++ b/drivers/gpu/nvgpu/therm/thrmpmu.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. 2 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
3 * 3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a 4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"), 5 * copy of this software and associated documentation files (the "Software"),
@@ -50,9 +50,9 @@ static void therm_pmucmdhandler(struct gk20a *g, struct pmu_msg *msg,
50 phandlerparams->success = 1; 50 phandlerparams->success = 1;
51} 51}
52 52
53u32 therm_send_pmgr_tables_to_pmu(struct gk20a *g) 53int therm_send_pmgr_tables_to_pmu(struct gk20a *g)
54{ 54{
55 u32 status = 0; 55 int status = 0;
56 struct boardobjgrp *pboardobjgrp = NULL; 56 struct boardobjgrp *pboardobjgrp = NULL;
57 57
58 if (!BOARDOBJGRP_IS_EMPTY(&g->therm_pmu.therm_deviceobjs.super.super)) { 58 if (!BOARDOBJGRP_IS_EMPTY(&g->therm_pmu.therm_deviceobjs.super.super)) {