summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2018-07-27 11:48:59 +0200
committerSean Paul <seanpaul@chromium.org>2018-07-30 13:37:48 -0400
commit27fb462a01c3e78e223eb625b416bb03bd493541 (patch)
treecfd5cf23a0fa56d0098d0025d942c435d9295dd9
parentdfb9f5cabfe31b8e936b725b5de8f787f7c18b0f (diff)
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: f38b7cca6d0e ("drm/bridge: tc358764: Add DSI to LVDS bridge driver") Reported-by: kbuild test robot <lkp@intel.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Sean Paul <seanpaul@chromium.org> Link: https://patchwork.freedesktop.org/patch/msgid/20180727094859.27727-1-a.hajda@samsung.com
-rw-r--r--drivers/gpu/drm/bridge/tc358764.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/tc358764.c b/drivers/gpu/drm/bridge/tc358764.c
index 779bc5fce22a..ee6b98efa9c2 100644
--- a/drivers/gpu/drm/bridge/tc358764.c
+++ b/drivers/gpu/drm/bridge/tc358764.c
@@ -361,7 +361,7 @@ static int tc358764_attach(struct drm_bridge *bridge)
drm_connector_helper_add(&ctx->connector,
&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);
ctx->connector.funcs->reset(&ctx->connector);
drm_fb_helper_add_one_connector(drm->fb_helper, &ctx->connector);