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/vgpu/vgpu.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/vgpu/vgpu.c')
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/vgpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/vgpu/vgpu.c b/drivers/gpu/nvgpu/vgpu/vgpu.c index 4cc61cb1..e8328326 100644 --- a/drivers/gpu/nvgpu/vgpu/vgpu.c +++ b/drivers/gpu/nvgpu/vgpu/vgpu.c | |||
@@ -357,7 +357,7 @@ static int vgpu_pm_initialise_domain(struct platform_device *pdev) | |||
357 | 357 | ||
358 | domain->name = "gpu"; | 358 | domain->name = "gpu"; |
359 | 359 | ||
360 | #ifdef CONFIG_PM_RUNTIME | 360 | #ifdef CONFIG_PM |
361 | pm_domain_gov = &pm_domain_always_on_gov; | 361 | pm_domain_gov = &pm_domain_always_on_gov; |
362 | #endif | 362 | #endif |
363 | 363 | ||