diff options
author | Sumit Singh <sumsingh@nvidia.com> | 2016-03-15 04:52:04 -0400 |
---|---|---|
committer | Sumit Singh <sumsingh@nvidia.com> | 2016-03-15 06:47:42 -0400 |
commit | 383c769995dd8df1c5fd83b5778d37bf347618ca (patch) | |
tree | dc6922a72aeb87d2ecee9eb555ecd92767e60d92 /drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |
parent | d2e5eaf359d4446dd731ab39bc851e7709571042 (diff) |
gpu: nvgpu: Replace CONFIG_PM_RUNTIME with CONFIG_PM
After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is
selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks
depending on CONFIG_PM_RUNTIME may now be changed to depend on
CONFIG_PM.
Replace CONFIG_PM_RUNTIME with CONFIG_PM everywhere under
drivers/gpu/nvgpu/.
JIRA TPM-704
Change-Id: I23965838ff6ec77829076cd834e87641fb68e268
Signed-off-by: Sumit Singh <sumsingh@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c index 9fdd860b..621ee687 100644 --- a/drivers/gpu/nvgpu/gm20b/mm_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/mm_gm20b.c | |||
@@ -51,7 +51,7 @@ int gm20b_mm_mmu_vpr_info_fetch(struct gk20a *g) | |||
51 | int ret = 0; | 51 | int ret = 0; |
52 | 52 | ||
53 | gk20a_busy_noresume(g->dev); | 53 | gk20a_busy_noresume(g->dev); |
54 | #ifdef CONFIG_PM_RUNTIME | 54 | #ifdef CONFIG_PM |
55 | if (!pm_runtime_active(&g->dev->dev)) | 55 | if (!pm_runtime_active(&g->dev->dev)) |
56 | goto fail; | 56 | goto fail; |
57 | #endif | 57 | #endif |