From c61ab8facbbc052a7aec9d8b365cc6a81b0903d7 Mon Sep 17 00:00:00 2001 From: Sumit Singh Date: Tue, 16 Jun 2015 16:47:16 +0530 Subject: Revert "HACK: Disable genpd_pm_subdomain_attach" This reverts commit 83699a4ec9ebf55f6cc12c76e57dad1d4ec2fbfa. This hack was put in place as upstream has removed of_node field from generic_pm_domain structure. But as we are still using it, so removing this hack. Bug 200100078 Change-Id: I14e533786fb814e361c580e2883ceff1f63d251f --- drivers/gpu/nvgpu/gk20a/gk20a.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.c') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index 498de7e7..6afac4d8 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -1639,13 +1639,9 @@ static int _gk20a_init_domain(struct device_node *np, #endif of_genpd_add_provider_simple(np, gpd); - -#warning genpd_pm_subdomain_attach does not work with upstream -#if 0 gpd->of_node = of_node_get(np); genpd_pm_subdomain_attach(gpd); -#endif return 0; } -- cgit v1.2.2