diff options
author | Hawking Zhang <Hawking.Zhang@amd.com> | 2020-12-08 00:46:18 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-03-23 22:54:32 -0400 |
commit | 115ba9a9fdd2b7c0b2169647c06f03821dc966e5 (patch) | |
tree | 6a5bc5d213bee3da7a1efd3e6c4e4c5631479d75 | |
parent | 4f668d3d318c62afdb2ec3b2c2b0e602fd83b38c (diff) |
drm/amdgpu: declare smuio v13_0 callbacks as static
fix -Wmissing-protoypes warning
Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Likun Gao <Likun.Gao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c b/drivers/gpu/drm/amd/amdgpu/smuio_v13_0.c index 31817b604e28..079b094c48ad 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; |