From: Hawking Zhang Date: Mon, 7 Dec 2020 16:46:18 +0000 (+0800) Subject: drm/amdgpu: declare smuio v13_0 callbacks as static X-Git-Tag: v5.15~1144^2~19^2~224 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=115ba9a9fdd2b7c0b2169647c06f03821dc966e5;p=platform%2Fkernel%2Flinux-starfive.git drm/amdgpu: declare smuio v13_0 callbacks as static fix -Wmissing-protoypes warning Signed-off-by: Hawking Zhang Reviewed-by: Likun Gao Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c index 31817b6..079b094 100644 --- a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c +++ b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c @@ -37,7 +37,7 @@ static u32 smuio_v13_0_get_rom_data_offset(struct amdgpu_device *adev) return SOC15_REG_OFFSET(SMUIO, 0, regROM_DATA); } -void smuio_v13_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) +static void smuio_v13_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable) { u32 def, data; @@ -58,7 +58,7 @@ void smuio_v13_0_update_rom_clock_gating(struct amdgpu_device *adev, bool enable WREG32_SOC15(SMUIO, 0, regCGTT_ROM_CLK_CTRL0, data); } -void smuio_v13_0_get_clock_gating_state(struct amdgpu_device *adev, u32 *flags) +static void smuio_v13_0_get_clock_gating_state(struct amdgpu_device *adev, u32 *flags) { u32 data;