diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pmgr')
-rw-r--r-- | drivers/gpu/nvgpu/pmgr/pmgr.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/pmgr/pmgr.c b/drivers/gpu/nvgpu/pmgr/pmgr.c index c41a3a22..f4fe984c 100644 --- a/drivers/gpu/nvgpu/pmgr/pmgr.c +++ b/drivers/gpu/nvgpu/pmgr/pmgr.c | |||
@@ -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,10 @@ | |||
14 | #include "gk20a/gk20a.h" | 14 | #include "gk20a/gk20a.h" |
15 | #include "pwrdev.h" | 15 | #include "pwrdev.h" |
16 | #include "pmgrpmu.h" | 16 | #include "pmgrpmu.h" |
17 | |||
18 | #ifdef CONFIG_DEBUG_FS | ||
17 | #include <linux/debugfs.h> | 19 | #include <linux/debugfs.h> |
20 | #endif | ||
18 | 21 | ||
19 | int pmgr_pwr_devices_get_power(struct gk20a *g, u32 *val) | 22 | int pmgr_pwr_devices_get_power(struct gk20a *g, u32 *val) |
20 | { | 23 | { |