From: Alex Deucher Date: Tue, 7 Jan 2014 17:20:45 +0000 (-0500) Subject: drm/radeon/dpm: make some functions static for sumo X-Git-Tag: v3.14-rc1~47^2~41^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b5da5cee6ed1f12fbc65b7eff1305d6a28e64d4;p=kernel%2Fkernel-generic.git 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 Cc: Rashika Kheria --- diff --git a/drivers/gpu/drm/radeon/sumo_dpm.c b/drivers/gpu/drm/radeon/sumo_dpm.c index 78d839f..f121efe 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] = 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; diff --git a/drivers/gpu/drm/radeon/sumo_smc.c b/drivers/gpu/drm/radeon/sumo_smc.c index 18abba5..fb081d2 100644 --- a/drivers/gpu/drm/radeon/sumo_smc.c +++ b/drivers/gpu/drm/radeon/sumo_smc.c @@ -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)