drm/amd/powerplay: change structure variable name.
authorRex Zhu <Rex.Zhu@amd.com>
Mon, 1 Aug 2016 02:49:00 +0000 (10:49 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:33:27 +0000 (11:33 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smumgr/polaris10_smumgr.c

index 5dba7c50971020fe1ff3a052970fd14cb8860b09..704ff4cc0023cddae07829d60c7763c2ed299558 100644 (file)
@@ -978,7 +978,7 @@ static int polaris10_smu_init(struct pp_smumgr *smumgr)
        return 0;
 }
 
-static const struct pp_smumgr_func ellsemere_smu_funcs = {
+static const struct pp_smumgr_func polaris10_smu_funcs = {
        .smu_init = polaris10_smu_init,
        .smu_fini = polaris10_smu_fini,
        .start_smu = polaris10_start_smu,
@@ -1001,7 +1001,7 @@ int polaris10_smum_init(struct pp_smumgr *smumgr)
                return -1;
 
        smumgr->backend = polaris10_smu;
-       smumgr->smumgr_funcs = &ellsemere_smu_funcs;
+       smumgr->smumgr_funcs = &polaris10_smu_funcs;
 
        return 0;
 }