diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-11-10 22:31:07 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-11-13 08:12:30 +0300 |
commit | 55a79cc25b4904a8e31def614ad48c3fd45e3885 (patch) | |
tree | 384c4cef47f59b6889c4f810b75058511a7efc2b /drivers/gpu/drm/radeon/sumo_dpm.h | |
parent | 880d8dfc6f491a3bbbf0f190a41fb96aabd0dd72 (diff) | |
download | linux-55a79cc25b4904a8e31def614ad48c3fd45e3885.tar.xz |
drm/radeon/sumo_dpm: Move 'sumo_get_pi()'s prototype into shared header
Fixes the following W=1 kernel build warning(s):
drivers/gpu/drm/radeon/sumo_dpm.c:81:25: warning: no previous prototype for ‘sumo_get_pi’ [-Wmissing-prototypes]
81 | struct sumo_power_info *sumo_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>
Diffstat (limited to 'drivers/gpu/drm/radeon/sumo_dpm.h')
-rw-r--r-- | drivers/gpu/drm/radeon/sumo_dpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/sumo_dpm.h b/drivers/gpu/drm/radeon/sumo_dpm.h index f1651135a47a..db29d37ae270 100644 --- a/drivers/gpu/drm/radeon/sumo_dpm.h +++ b/drivers/gpu/drm/radeon/sumo_dpm.h @@ -207,6 +207,7 @@ u32 sumo_get_sleep_divider_from_id(u32 id); u32 sumo_get_sleep_divider_id_from_clock(struct radeon_device *rdev, u32 sclk, u32 min_sclk_in_sr); +struct sumo_power_info *sumo_get_pi(struct radeon_device *rdev); /* sumo_smc.c */ void sumo_initialize_m3_arb(struct radeon_device *rdev); |