From 75b50e8588da4c1b7da0963145c5b8bb8c077eb5 Mon Sep 17 00:00:00 2001 From: Dan Willemsen Date: Sat, 4 Apr 2015 13:35:34 -0700 Subject: HACK: Disable genpd_pm_subdomain_attach Upstream doesn't keep track of the DT node in the genpd struct anymore. Signed-off-by: Dan Willemsen --- drivers/gpu/nvgpu/gk20a/gk20a.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.c b/drivers/gpu/nvgpu/gk20a/gk20a.c index a6f56763..f3a333f3 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/gk20a.c @@ -1599,9 +1599,13 @@ 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