From 383c769995dd8df1c5fd83b5778d37bf347618ca Mon Sep 17 00:00:00 2001 From: Sumit Singh Date: Tue, 15 Mar 2016 14:22:04 +0530 Subject: 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 --- drivers/gpu/nvgpu/gm20b/mm_gm20b.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b/mm_gm20b.c') 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) int ret = 0; gk20a_busy_noresume(g->dev); -#ifdef CONFIG_PM_RUNTIME +#ifdef CONFIG_PM if (!pm_runtime_active(&g->dev->dev)) goto fail; #endif -- cgit v1.2.2