Commit a4292e52 authored by Chris Wilson's avatar Chris Wilson

drm: Match drm_dp_send_clear_payload_id_table definition to declaration

drivers/gpu/drm/drm_dp_mst_topology.c:2898:6: warning: symbol 'drm_dp_send_clear_payload_id_table' was not declared. Should it be static?
drivers/gpu/drm/drm_dp_mst_topology.c:5451:37: warning: missing braces around initializer
drivers/gpu/drm/drm_dp_mst_topology.c:5451:37: warning: missing braces around initializer
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200516212330.13633-4-chris@chris-wilson.co.uk
parent af69bf55
...@@ -2895,8 +2895,9 @@ static int drm_dp_send_link_address(struct drm_dp_mst_topology_mgr *mgr, ...@@ -2895,8 +2895,9 @@ static int drm_dp_send_link_address(struct drm_dp_mst_topology_mgr *mgr,
return ret < 0 ? ret : changed; return ret < 0 ? ret : changed;
} }
void drm_dp_send_clear_payload_id_table(struct drm_dp_mst_topology_mgr *mgr, static void
struct drm_dp_mst_branch *mstb) 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; struct drm_dp_sideband_msg_tx *txmsg;
int ret; int ret;
...@@ -5443,7 +5444,7 @@ struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port) ...@@ -5443,7 +5444,7 @@ struct drm_dp_aux *drm_dp_mst_dsc_aux_for_port(struct drm_dp_mst_port *port)
{ {
struct drm_dp_mst_port *immediate_upstream_port; struct drm_dp_mst_port *immediate_upstream_port;
struct drm_dp_mst_port *fec_port; struct drm_dp_mst_port *fec_port;
struct drm_dp_desc desc = { 0 }; struct drm_dp_desc desc = {};
u8 endpoint_fec; u8 endpoint_fec;
u8 endpoint_dsc; u8 endpoint_dsc;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment