diff options
author | Vishal Annapurve <vannapurve@nvidia.com> | 2016-03-04 11:01:01 -0500 |
---|---|---|
committer | Sandeep Trasi <strasi@nvidia.com> | 2016-03-29 05:00:58 -0400 |
commit | cd29c45e673cb0ed8e69630dde684bf96c3c78e0 (patch) | |
tree | 15e29617f5e2ce8e726e9dd3f43e830faa60437d /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |
parent | fbc21ed2ee1859dfe1814914a7b9367eee6b9f3d (diff) |
gpu: nvgpu: Fix compilation with CONFIG_DEBUG_FS disabled
This change fixes issues with kernel compilation when
CONFIG_DEBUG_FS is disabled.
Bug 1737085
Change-Id: I74719674d07ae071e3df99b0dda249b54173f40b
Signed-off-by: Vishal Annapurve <vannapurve@nvidia.com>
Reviewed-on: http://git-master/r/1024167
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sandeep Trasi <strasi@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c index 30592ee2..60c87979 100644 --- a/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |||
@@ -4426,7 +4426,7 @@ int gk20a_aelpg_init_and_enable(struct gk20a *g, u8 ctrl_id) | |||
4426 | return status; | 4426 | return status; |
4427 | } | 4427 | } |
4428 | 4428 | ||
4429 | #if CONFIG_DEBUG_FS | 4429 | #ifdef CONFIG_DEBUG_FS |
4430 | static int elpg_residency_show(struct seq_file *s, void *data) | 4430 | static int elpg_residency_show(struct seq_file *s, void *data) |
4431 | { | 4431 | { |
4432 | struct gk20a *g = s->private; | 4432 | struct gk20a *g = s->private; |