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

Commit 27b83179 authored by Rashika Kheria's avatar Rashika Kheria Committed by Alex Deucher
Browse files

drivers: gpu: Mark function as static in r600_hdmi.c



Mark function r600_audio_set_dto() as static in drm/radeon/r600_hdmi.c
because it is not used outside this file.

This eliminates the following warning in drm/radeon/r600_hdmi.c:
drivers/gpu/drm/radeon/r600_hdmi.c:253:6: warning: no previous prototype for ‘r600_audio_set_dto’ [-Wmissing-prototypes]

Signed-off-by: default avatarRashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: default avatarJosh Triplett <josh@joshtriplett.org>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 248a6c4a
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -250,7 +250,7 @@ static void r600_hdmi_audio_workaround(struct drm_encoder *encoder)
		 value, ~HDMI0_AUDIO_TEST_EN);
		 value, ~HDMI0_AUDIO_TEST_EN);
}
}


void r600_audio_set_dto(struct drm_encoder *encoder, u32 clock)
static void r600_audio_set_dto(struct drm_encoder *encoder, u32 clock)
{
{
	struct drm_device *dev = encoder->dev;
	struct drm_device *dev = encoder->dev;
	struct radeon_device *rdev = dev->dev_private;
	struct radeon_device *rdev = dev->dev_private;