mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-18 06:33:43 -04:00
drm/amd/display: label internally used symbols as static
Used sparse(make C=1) to find these loose ends. Signed-off-by: Nirmoy Das <nirmoy.das@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -700,7 +700,7 @@ static void amdgpu_dm_audio_fini(struct amdgpu_device *adev)
|
||||
adev->mode_info.audio.enabled = false;
|
||||
}
|
||||
|
||||
void amdgpu_dm_audio_eld_notify(struct amdgpu_device *adev, int pin)
|
||||
static void amdgpu_dm_audio_eld_notify(struct amdgpu_device *adev, int pin)
|
||||
{
|
||||
struct drm_audio_component *acomp = adev->dm.audio_component;
|
||||
|
||||
@@ -1586,7 +1586,7 @@ static void dm_gpureset_toggle_interrupts(struct amdgpu_device *adev,
|
||||
|
||||
}
|
||||
|
||||
enum dc_status amdgpu_dm_commit_zero_streams(struct dc *dc)
|
||||
static enum dc_status amdgpu_dm_commit_zero_streams(struct dc *dc)
|
||||
{
|
||||
struct dc_state *context = NULL;
|
||||
enum dc_status res = DC_ERROR_UNEXPECTED;
|
||||
@@ -2706,7 +2706,7 @@ static int dm_atomic_get_state(struct drm_atomic_state *state,
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct dm_atomic_state *
|
||||
static struct dm_atomic_state *
|
||||
dm_atomic_get_new_state(struct drm_atomic_state *state)
|
||||
{
|
||||
struct drm_device *dev = state->dev;
|
||||
@@ -2724,7 +2724,7 @@ dm_atomic_get_new_state(struct drm_atomic_state *state)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
struct dm_atomic_state *
|
||||
static struct dm_atomic_state *
|
||||
dm_atomic_get_old_state(struct drm_atomic_state *state)
|
||||
{
|
||||
struct drm_device *dev = state->dev;
|
||||
@@ -5564,7 +5564,7 @@ dm_drm_plane_duplicate_state(struct drm_plane *plane)
|
||||
return &dm_plane_state->base;
|
||||
}
|
||||
|
||||
void dm_drm_plane_destroy_state(struct drm_plane *plane,
|
||||
static void dm_drm_plane_destroy_state(struct drm_plane *plane,
|
||||
struct drm_plane_state *state)
|
||||
{
|
||||
struct dm_plane_state *dm_plane_state = to_dm_plane_state(state);
|
||||
|
||||
Reference in New Issue
Block a user