[PATCH] drm/dp_mst: make the symbol 'drm_dp_send_clear_payload_id_table' static

From: zhong jiang
Date: Mon Dec 16 2019 - 05:22:04 EST


Fix the following sparse warning.

drivers/gpu/drm/drm_dp_mst_topology.c:2897:6: warning: symbol 'drm_dp_send_clear_payload_id_table' was not declared. Should it be static?

Signed-off-by: zhong jiang <zhongjiang@xxxxxxxxxx>
---
drivers/gpu/drm/drm_dp_mst_topology.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/drm_dp_mst_topology.c b/drivers/gpu/drm/drm_dp_mst_topology.c
index e68d230..c4976de 100644
--- a/drivers/gpu/drm/drm_dp_mst_topology.c
+++ b/drivers/gpu/drm/drm_dp_mst_topology.c
@@ -2894,7 +2894,7 @@ static int drm_dp_send_link_address(struct drm_dp_mst_topology_mgr *mgr,
return ret < 0 ? ret : changed;
}

-void drm_dp_send_clear_payload_id_table(struct drm_dp_mst_topology_mgr *mgr,
+static void drm_dp_send_clear_payload_id_table(struct drm_dp_mst_topology_mgr *mgr,
struct drm_dp_mst_branch *mstb)
{
struct drm_dp_sideband_msg_tx *txmsg;
--
1.7.12.4