All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/dp_mst: make the symbol 'drm_dp_send_clear_payload_id_table' static
@ 2019-12-16 10:17 zhong jiang
  0 siblings, 0 replies; only message in thread
From: zhong jiang @ 2019-12-16 10:17 UTC (permalink / raw)
  To: maarten.lankhorst, mripard, airlied, daniel; +Cc: linux-kernel, zhongjiang

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@huawei.com>
---
 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


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-16 10:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-16 10:17 [PATCH] drm/dp_mst: make the symbol 'drm_dp_send_clear_payload_id_table' static zhong jiang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.