gpu: nvgpu: gk20a: fix genpd name

domain name should be different from device name.

Change-Id: I6c7d6927d6fc5bada203d749f107c17043233501
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/392327
Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
This commit is contained in:
Shridhar Rasal
2014-04-04 16:40:42 +05:30
committed by Dan Willemsen
parent 9c5d336fb7
commit b210a775cf

View File

@@ -1259,7 +1259,7 @@ static int gk20a_pm_initialise_domain(struct platform_device *pdev)
struct generic_pm_domain *domain = &platform->g->pd;
int ret = 0;
domain->name = kstrdup(pdev->name, GFP_KERNEL);
domain->name = "gpu";
if (!platform->can_railgate)
pm_domain_gov = &pm_domain_always_on_gov;