Commit 27fb462a authored by Andrzej Hajda's avatar Andrzej Hajda Committed by Sean Paul

drm/bridge/tc358764: fix drm helper name

Recently drm_mode_connector_attach_encoder changed it's name. The change
was not noticed by bridge author, as a result gcc reports compile error
on next branch.

Fixes: f38b7cca ("drm/bridge: tc358764: Add DSI to LVDS bridge driver")
Reported-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarAndrzej Hajda <a.hajda@samsung.com>
Signed-off-by: default avatarSean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180727094859.27727-1-a.hajda@samsung.com
parent dfb9f5ca
...@@ -361,7 +361,7 @@ static int tc358764_attach(struct drm_bridge *bridge) ...@@ -361,7 +361,7 @@ static int tc358764_attach(struct drm_bridge *bridge)
drm_connector_helper_add(&ctx->connector, drm_connector_helper_add(&ctx->connector,
&tc358764_connector_helper_funcs); &tc358764_connector_helper_funcs);
drm_mode_connector_attach_encoder(&ctx->connector, bridge->encoder); drm_connector_attach_encoder(&ctx->connector, bridge->encoder);
drm_panel_attach(ctx->panel, &ctx->connector); drm_panel_attach(ctx->panel, &ctx->connector);
ctx->connector.funcs->reset(&ctx->connector); ctx->connector.funcs->reset(&ctx->connector);
drm_fb_helper_add_one_connector(drm->fb_helper, &ctx->connector); drm_fb_helper_add_one_connector(drm->fb_helper, &ctx->connector);
......
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