diff mbox series

[RFC,radeon-alex] drm/amdgpu: nbio_v7_4_hdp_flush_reg can be static

Message ID 20180815044508.GA109098@lkp-ib04 (mailing list archive)
State New, archived
Headers show
Series [RFC,radeon-alex] drm/amdgpu: nbio_v7_4_hdp_flush_reg can be static | expand

Commit Message

Fengguang Wu Aug. 15, 2018, 4:45 a.m. UTC
Fixes: 24048ee665f3 ("drm/amdgpu: Add nbio 7.4 support for vega20 (v2)")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
 nbio_v7_4.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Deucher Aug. 15, 2018, 1:40 p.m. UTC | #1
Applied.  thanks!


Alex
diff mbox series

Patch

diff --git a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c b/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
index 623ffde..89ea920 100644
--- a/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
+++ b/drivers/gpu/drm/amd/amdgpu/nbio_v7_4.c
@@ -188,7 +188,7 @@  static u32 nbio_v7_4_get_pcie_data_offset(struct amdgpu_device *adev)
 	return SOC15_REG_OFFSET(NBIO, 0, mmPCIE_DATA2);
 }
 
-const struct nbio_hdp_flush_reg nbio_v7_4_hdp_flush_reg = {
+static const struct nbio_hdp_flush_reg nbio_v7_4_hdp_flush_reg = {
 	.ref_and_mask_cp0 = GPU_HDP_FLUSH_DONE__CP0_MASK,
 	.ref_and_mask_cp1 = GPU_HDP_FLUSH_DONE__CP1_MASK,
 	.ref_and_mask_cp2 = GPU_HDP_FLUSH_DONE__CP2_MASK,