mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 07:27:12 +08:00
drm/radeon/btc_dpm: Move 'evergreen_get_pi's prototype to shared header
Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/rv770_dpm.c:62:30: warning: no previous prototype for ‘evergreen_get_pi’ [-Wmissing-prototypes] 62 | struct evergreen_power_info *evergreen_get_pi(struct radeon_device *rdev) | ^~~~~~~~~~~~~~~~ Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "Christian König" <christian.koenig@amd.com> Cc: David Airlie <airlied@linux.ie> Cc: Daniel Vetter <daniel@ffwll.ch> Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <linux/seq_file.h>
|
||||
|
||||
#include "atom.h"
|
||||
#include "evergreen.h"
|
||||
#include "r600_dpm.h"
|
||||
#include "rv770.h"
|
||||
#include "radeon.h"
|
||||
@@ -1720,8 +1721,6 @@ static const struct si_powertune_data powertune_data_hainan =
|
||||
true
|
||||
};
|
||||
|
||||
struct evergreen_power_info *evergreen_get_pi(struct radeon_device *rdev);
|
||||
|
||||
extern void vce_v1_0_enable_mgcg(struct radeon_device *rdev, bool enable);
|
||||
|
||||
static int si_populate_voltage_value(struct radeon_device *rdev,
|
||||
|
||||
Reference in New Issue
Block a user