]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
drm/radeon/dpm: make some functions static for sumo
authorAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 17:20:45 +0000 (12:20 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Jan 2014 17:55:50 +0000 (12:55 -0500)
Noticed by Rashika Kheria and cherry-picked from
her larger patch set.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Rashika Kheria <rashika.kheria@gmail.com>
drivers/gpu/drm/radeon/sumo_dpm.c
drivers/gpu/drm/radeon/sumo_smc.c

index 78d839f8d37da5197c194a56dc7e13507c6036c6..f121efe12dc5c10a4fd6f1c5283ee7f87e8b0797 100644 (file)
@@ -71,7 +71,7 @@ static const u32 sumo_dtc[SUMO_PM_NUMBER_OF_TC] =
        SUMO_DTC_DFLT_14,
 };
 
-struct sumo_ps *sumo_get_ps(struct radeon_ps *rps)
+static struct sumo_ps *sumo_get_ps(struct radeon_ps *rps)
 {
        struct sumo_ps *ps = rps->ps_priv;
 
index 18abba5b5810b467f23efb012b9eee24e5e3a155..fb081d2ae37477e37b0ec28068c7d45112e19bc0 100644 (file)
@@ -31,7 +31,6 @@
 #define SUMO_SMU_SERVICE_ROUTINE_ALTVDDNB_NOTIFY  27
 #define SUMO_SMU_SERVICE_ROUTINE_GFX_SRV_ID_20  20
 
-struct sumo_ps *sumo_get_ps(struct radeon_ps *rps);
 struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev);
 
 static void sumo_send_msg_to_smu(struct radeon_device *rdev, u32 id)