diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 12:20:45 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2014-01-07 12:55:50 -0500 |
commit | 3b5da5cee6ed1f12fbc65b7eff1305d6a28e64d4 (patch) | |
tree | 23caeca3ae0404776d73f978c61f2f4120f69a75 | |
parent | 9a04dad3a178d37fc3c1485ff717a88896bd63e7 (diff) |
drm/radeon/dpm: make some functions static for sumo
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>
-rw-r--r-- | drivers/gpu/drm/radeon/sumo_dpm.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/radeon/sumo_smc.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/radeon/sumo_dpm.c b/drivers/gpu/drm/radeon/sumo_dpm.c index 78d839f8d37d..f121efe12dc5 100644 --- a/drivers/gpu/drm/radeon/sumo_dpm.c +++ b/drivers/gpu/drm/radeon/sumo_dpm.c | |||
@@ -71,7 +71,7 @@ static const u32 sumo_dtc[SUMO_PM_NUMBER_OF_TC] = | |||
71 | SUMO_DTC_DFLT_14, | 71 | SUMO_DTC_DFLT_14, |
72 | }; | 72 | }; |
73 | 73 | ||
74 | struct sumo_ps *sumo_get_ps(struct radeon_ps *rps) | 74 | static struct sumo_ps *sumo_get_ps(struct radeon_ps *rps) |
75 | { | 75 | { |
76 | struct sumo_ps *ps = rps->ps_priv; | 76 | struct sumo_ps *ps = rps->ps_priv; |
77 | 77 | ||
diff --git a/drivers/gpu/drm/radeon/sumo_smc.c b/drivers/gpu/drm/radeon/sumo_smc.c index 18abba5b5810..fb081d2ae374 100644 --- a/drivers/gpu/drm/radeon/sumo_smc.c +++ b/drivers/gpu/drm/radeon/sumo_smc.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #define SUMO_SMU_SERVICE_ROUTINE_ALTVDDNB_NOTIFY 27 | 31 | #define SUMO_SMU_SERVICE_ROUTINE_ALTVDDNB_NOTIFY 27 |
32 | #define SUMO_SMU_SERVICE_ROUTINE_GFX_SRV_ID_20 20 | 32 | #define SUMO_SMU_SERVICE_ROUTINE_GFX_SRV_ID_20 20 |
33 | 33 | ||
34 | struct sumo_ps *sumo_get_ps(struct radeon_ps *rps); | ||
35 | struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev); | 34 | struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev); |
36 | 35 | ||
37 | static void sumo_send_msg_to_smu(struct radeon_device *rdev, u32 id) | 36 | static void sumo_send_msg_to_smu(struct radeon_device *rdev, u32 id) |