Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbb74bce authored by Alex Deucher's avatar Alex Deucher
Browse files

drm/radeon/dpm: make some functions static for TN



Noticed by Rashika Kheria and cherry-picked from
her larger patch set.

Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: Rashika Kheria <rashika.kheria@gmail.com>
parent 3b5da5ce
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -342,14 +342,14 @@ static void trinity_apply_state_adjust_rules(struct radeon_device *rdev,
					     struct radeon_ps *new_rps,
					     struct radeon_ps *old_rps);

struct trinity_ps *trinity_get_ps(struct radeon_ps *rps)
static struct trinity_ps *trinity_get_ps(struct radeon_ps *rps)
{
	struct trinity_ps *ps = rps->ps_priv;

	return ps;
}

struct trinity_power_info *trinity_get_pi(struct radeon_device *rdev)
static struct trinity_power_info *trinity_get_pi(struct radeon_device *rdev)
{
	struct trinity_power_info *pi = rdev->pm.dpm.priv;

+0 −3
Original line number Diff line number Diff line
@@ -27,9 +27,6 @@
#include "trinity_dpm.h"
#include "ppsmc.h"

struct trinity_ps *trinity_get_ps(struct radeon_ps *rps);
struct trinity_power_info *trinity_get_pi(struct radeon_device *rdev);

static int trinity_notify_message_to_smu(struct radeon_device *rdev, u32 id)
{
	int i;