diff options
Diffstat (limited to 'drivers/gpu/nvgpu/clk/clk_mclk.h')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_mclk.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/clk/clk_mclk.h b/drivers/gpu/nvgpu/clk/clk_mclk.h index cb7f0de0..731f289d 100644 --- a/drivers/gpu/nvgpu/clk/clk_mclk.h +++ b/drivers/gpu/nvgpu/clk/clk_mclk.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -14,7 +14,7 @@ | |||
14 | #ifndef _CLKMCLK_H_ | 14 | #ifndef _CLKMCLK_H_ |
15 | #define _CLKMCLK_H_ | 15 | #define _CLKMCLK_H_ |
16 | 16 | ||
17 | #include <linux/mutex.h> | 17 | #include <nvgpu/lock.h> |
18 | 18 | ||
19 | enum gk20a_mclk_speed { | 19 | enum gk20a_mclk_speed { |
20 | gk20a_mclk_low_speed, | 20 | gk20a_mclk_low_speed, |
@@ -24,8 +24,8 @@ enum gk20a_mclk_speed { | |||
24 | 24 | ||
25 | struct clk_mclk_state { | 25 | struct clk_mclk_state { |
26 | enum gk20a_mclk_speed speed; | 26 | enum gk20a_mclk_speed speed; |
27 | struct mutex mclk_lock; | 27 | struct nvgpu_mutex mclk_lock; |
28 | struct mutex data_lock; | 28 | struct nvgpu_mutex data_lock; |
29 | 29 | ||
30 | u16 p5_min; | 30 | u16 p5_min; |
31 | u16 p0_min; | 31 | u16 p0_min; |